diff --git a/doc/README.polkit b/doc/README.polkit index dbf7c565..099dcdac 100644 --- a/doc/README.polkit +++ b/doc/README.polkit @@ -1,5 +1,10 @@ -When pcsc-lite is compiled using the --enable-polkit option then -polkit will be used to control access to the pcsc-lite daemon. +By default pcsc-lite will use polkit to control access to the pcsc-lite +daemon. + +For now, only GNU/Linux and FreeBSD are supported. Patches are welcome +for other platforms. +Configure pcsc-lite with -Dpolkit=false if polkit is not available for +your platform. That allows more fine grained access control to smart cards that is tied to the system processes rather than solely depending on diff --git a/src/auth.c b/src/auth.c index 49f7ce72..a09a6e0a 100644 --- a/src/auth.c +++ b/src/auth.c @@ -182,6 +182,8 @@ unsigned IsClientAuthorized(int socket, const char* action, const char* reader) #else +/* Do not enable polkit if it not yet supported on your system. + * Patches are welcome. */ #error polkit is enabled, but no socket cred implementation for this platform #endif