-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auth.c: implement polkit support for FreeBSD
FreeBSD's analog to SO_PEERCRED is LOCAL_PEERCRED, which returns a (ABI stable) `struct xucred` rather than a `struct cred`. Paper over the platform differences with a typedef and a couple macros.
- Loading branch information
1 parent
a2a7e07
commit 19d0b26
Showing
1 changed file
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters