-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jsauthority: parse groups from GetConnectionCredentials() if available
D-Bus will give us supplementary groups too, using SO_PEERSEC which is secure and safe against races, so prefer that to parsing the group from the uid. This is available when using dbus-broker. Fixes https://gitlab.freedesktop.org/polkit/polkit/-/issues/165
- Loading branch information
Showing
5 changed files
with
293 additions
and
63 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
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
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
Oops, something went wrong.