feat(profiles): add dbus rules for some common profiles.

This commit is contained in:
Alexandre Pujol 2022-06-05 23:06:14 +01:00
parent e949654614
commit 583d7a15f0
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
43 changed files with 584 additions and 6 deletions

View file

@ -22,6 +22,25 @@ profile polkitd @{exec_path} {
ptrace (read),
dbus send bus=system path=/org/freedesktop/DBus
interface=org.freedesktop.DBus
member={GetConnectionUnixUser,GetConnectionUnixProcessID,RequestName},
dbus send bus=system path=/org/freedesktop/PolicyKit[0-9]/Authority
interface=org.freedesktop.PolicyKit[0-9].Authority
member={Changed,BeginAuthentication},
dbus receive bus=system path=/org/freedesktop/PolicyKit[0-9]/Authority
interface=org.freedesktop.PolicyKit[0-9].Authority
member={GetAll,CheckAuthorization,RegisterAuthenticationAgent,AuthenticationAgentResponse2,EnumerateActions,CancelCheckAuthorization},
dbus receive bus=system path=/org/freedesktop/PolicyKit[0-9]/Authority
interface=org.freedesktop.DBus.Properties
member=GetAll,
dbus bind bus=system
name=org.freedesktop.PolicyKit[0-9],
@{exec_path} mr,
@{PROC}/@{pids}/stat r,