feat(profiles): general update.
This commit is contained in:
parent
19d005bf59
commit
ee83e1c33c
11 changed files with 39 additions and 13 deletions
|
|
@ -94,12 +94,13 @@ profile snapd @{exec_path} {
|
|||
/etc/systemd/system/{,**/} r,
|
||||
/etc/systemd/system/snap* rw,
|
||||
/etc/systemd/user/{,**/} r,
|
||||
/etc/systemd/user/snap* rw,
|
||||
/etc/systemd/user/**/*snap* rw,
|
||||
/etc/systemd/user/*snap* rw,
|
||||
/etc/udev/rules.d/{,*snap*} rw,
|
||||
|
||||
/snap/{,**} rw,
|
||||
/var/cache/snapd/{,**} rwk,
|
||||
/var/lib/snapd/{,**} rwk,
|
||||
/var/cache/snapd/{,**} rwlk,
|
||||
/var/lib/snapd/{,**} rwlk,
|
||||
/var/snap/{,**} rw,
|
||||
|
||||
/var/cache/apparmor/{,*/} r,
|
||||
|
|
@ -119,7 +120,8 @@ profile snapd @{exec_path} {
|
|||
owner @{run}/mount/utab{,.*} rw,
|
||||
owner @{run}/mount/utab.lock wk,
|
||||
|
||||
owner @{run}/user/{,@{uid}/} r,
|
||||
owner @{run}/user/@{uid}/ r,
|
||||
owner @{run}/user/@{uid}/snapd-session-agent.socket rw,
|
||||
owner @{run}/user/snap.*/{,**} rw,
|
||||
|
||||
@{run}/snapd*.socket rw,
|
||||
|
|
@ -136,6 +138,8 @@ profile snapd @{exec_path} {
|
|||
@{sys}/kernel/security/apparmor/features/ r,
|
||||
@{sys}/kernel/security/apparmor/profiles r,
|
||||
|
||||
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/app.slice/snap*.service/cgroup.procs r,
|
||||
|
||||
@{PROC}/@{pids}/cgroup r,
|
||||
@{PROC}/@{pids}/stat r,
|
||||
@{PROC}/cgroups r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue