mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
Various updates (#201)
This commit is contained in:
parent
86b1ee4df2
commit
c2bb733624
6 changed files with 11 additions and 1 deletions
|
@ -115,6 +115,7 @@ profile kded5 @{exec_path} {
|
||||||
owner @{user_share_dirs}/services5/{,**} r,
|
owner @{user_share_dirs}/services5/{,**} r,
|
||||||
|
|
||||||
@{run}/mount/utab r,
|
@{run}/mount/utab r,
|
||||||
|
@{run}/udev/data/c189:@{int} r, # for /dev/bus/usb/**
|
||||||
owner @{run}/user/@{uid}/#@{int} rw,
|
owner @{run}/user/@{uid}/#@{int} rw,
|
||||||
owner @{run}/user/@{uid}/gvfs/ r,
|
owner @{run}/user/@{uid}/gvfs/ r,
|
||||||
owner @{run}/user/@{uid}/kded5*kioworker.socket rwl,
|
owner @{run}/user/@{uid}/kded5*kioworker.socket rwl,
|
||||||
|
|
|
@ -167,7 +167,8 @@ profile plasmashell @{exec_path} flags=(mediate_deleted) {
|
||||||
|
|
||||||
@{sys}/bus/ r,
|
@{sys}/bus/ r,
|
||||||
@{sys}/bus/usb/devices/ r,
|
@{sys}/bus/usb/devices/ r,
|
||||||
@{sys}/class/{,*} r,
|
@{sys}/class/{,**} r,
|
||||||
|
@{sys}/devices/platform/** r,
|
||||||
|
|
||||||
@{sys}/devices/pci[0-9]*/**/name r,
|
@{sys}/devices/pci[0-9]*/**/name r,
|
||||||
@{sys}/devices/virtual/thermal/thermal_zone@{int}/hwmon@{int}/ r,
|
@{sys}/devices/virtual/thermal/thermal_zone@{int}/hwmon@{int}/ r,
|
||||||
|
|
|
@ -56,6 +56,7 @@ profile pacman @{exec_path} {
|
||||||
@{bin}/archlinux-java rPx,
|
@{bin}/archlinux-java rPx,
|
||||||
@{bin}/bootctl rPx,
|
@{bin}/bootctl rPx,
|
||||||
@{bin}/cat rix,
|
@{bin}/cat rix,
|
||||||
|
@{bin}/cert-sync rPx,
|
||||||
@{bin}/checkrebuild rPUx,
|
@{bin}/checkrebuild rPUx,
|
||||||
@{bin}/chgrp rix,
|
@{bin}/chgrp rix,
|
||||||
@{bin}/chmod rix,
|
@{bin}/chmod rix,
|
||||||
|
|
|
@ -30,6 +30,9 @@ profile systemd-binfmt @{exec_path} flags=(attach_disconnected) {
|
||||||
@{PROC}/sys/kernel/osrelease r,
|
@{PROC}/sys/kernel/osrelease r,
|
||||||
owner @{PROC}/@{pid}/stat r,
|
owner @{PROC}/@{pid}/stat r,
|
||||||
|
|
||||||
|
/dev/tty@{int} rw,
|
||||||
|
/dev/pts/@{int} rw,
|
||||||
|
|
||||||
deny /apparmor/.null rw,
|
deny /apparmor/.null rw,
|
||||||
|
|
||||||
include if exists <local/systemd-binfmt>
|
include if exists <local/systemd-binfmt>
|
||||||
|
|
|
@ -22,6 +22,8 @@ profile swapoff @{exec_path} {
|
||||||
# SWAP file common locations
|
# SWAP file common locations
|
||||||
owner /swapfile rw,
|
owner /swapfile rw,
|
||||||
|
|
||||||
|
/dev/pts/@{int} rw,
|
||||||
|
|
||||||
include if exists <local/swapoff>
|
include if exists <local/swapoff>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,5 +23,7 @@ profile swapon @{exec_path} {
|
||||||
|
|
||||||
@{PROC}/swaps r,
|
@{PROC}/swaps r,
|
||||||
|
|
||||||
|
/dev/pts/@{int} rw,
|
||||||
|
|
||||||
include if exists <local/swapon>
|
include if exists <local/swapon>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue