-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Use polkit for some D-Bus methods
* Allow to call "register" and "unregister" D-Bus methods for non-root user, when the user is authorized using polkit * This change will require to do some changes on selinux-policy. To test this with enforcing SELinux you can create local policy using following file (local_rhsmcertd_policykit.cil) containing following rules: (allow rhsmcertd_t policykit_t (dbus (send_msg))) (allow policykit_t rhsmcertd_t (dbus (send_msg))) Then you can run: `semodule -i local_rhsmcertd_policykit.cil` * TODO: we should use more polkit action IDs. Not only one default
- Loading branch information
1 parent
9203738
commit 15f2aee
Showing
6 changed files
with
114 additions
and
3 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
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