pcsc-lite  1.8.20
Macros | Functions
auth.c File Reference

polkit authorization of clients More...

#include "config.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/un.h>
#include <stdio.h>
#include "debuglog.h"
#include "auth.h"
#include <errno.h>

Go to the source code of this file.

Functions

unsigned IsClientAuthorized (int socket, const char *action, const char *reader)
 

Detailed Description

polkit authorization of clients

IsClientAuthorized() checks whether the connecting client is authorized to access the resources using polkit.

Definition in file auth.c.