polishing
This commit is contained in:
parent
599ed6464c
commit
2bea426d27
4 changed files with 21 additions and 8 deletions
|
|
@ -53,8 +53,6 @@ profile polkitd @{exec_path} {
|
|||
|
||||
@{run}/systemd/sessions/* r,
|
||||
@{run}/systemd/users/@{uid} r,
|
||||
@{run}/systemd/userdb/io.systemd.DynamicUser w,
|
||||
@{run}/systemd/userdb/io.systemd.Machine rw,
|
||||
|
||||
# Silencer
|
||||
deny /.cache/ rw,
|
||||
|
|
@ -67,10 +65,13 @@ profile polkitd @{exec_path} {
|
|||
bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" peer=(name=":*"),
|
||||
|
||||
dbus send
|
||||
bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" peer=(name="{org.freedesktop.DBus,:*}"),
|
||||
bus="system" path="/org/freedesktop/PolicyKit1{,/**}" interface="org.freedesktop.PolicyKit1{,.**}" peer=(name="{org.freedesktop.DBus,:*}"),
|
||||
|
||||
dbus send
|
||||
bus="system" path="/org/gnome/PolicyKit1/AuthenticationAgent" interface="org.freedesktop.PolicyKit1.AuthenticationAgent" peer=(name=":*"),
|
||||
|
||||
dbus receive
|
||||
bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="{EnumerateActions,CheckAuthorization,CancelCheckAuthorization,RegisterAuthenticationAgent}" peer=(name=":*"),
|
||||
bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="{EnumerateActions,CheckAuthorization,CancelCheckAuthorization,RegisterAuthenticationAgent,AuthenticationAgentResponse2}" peer=(name=":*"),
|
||||
|
||||
dbus bind
|
||||
bus="system" name="org.freedesktop.PolicyKit1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue