mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-23 21:46:44 +01:00
update apparmor profiles
This commit is contained in:
parent
030d7a4a53
commit
d1605c62b3
6 changed files with 11 additions and 3 deletions
|
@ -184,7 +184,7 @@ profile atom @{exec_path} {
|
|||
|
||||
# file_inherit
|
||||
owner @{HOME}/.xsession-errors w,
|
||||
/usr/share/atom/** r,
|
||||
/usr/share/atom/** r,
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ profile dpkg @{exec_path} {
|
|||
/{usr/,}bin/more mr,
|
||||
/{usr/,}bin/diff mr,
|
||||
|
||||
owner @{HOME}/.lesshst r,
|
||||
owner @{HOME}/.lesshs* rw,
|
||||
|
||||
# Diff changed config files
|
||||
/etc/** r,
|
||||
|
|
|
@ -47,6 +47,7 @@ profile mkinitramfs @{exec_path} {
|
|||
/{usr/,}bin/cpio rix,
|
||||
/{usr/,}bin/env rix,
|
||||
/{usr/,}bin/rmdir rix,
|
||||
/{usr/,}bin/tr rix,
|
||||
|
||||
/{usr/,}bin/ldd rCx -> ldd,
|
||||
/{usr/,}sbin/ldconfig rCx -> ldconfig,
|
||||
|
|
|
@ -80,7 +80,7 @@ profile openbox @{exec_path} {
|
|||
|
||||
# file_inherit
|
||||
owner @{HOME}/.xsession-errors w,
|
||||
owner /dev/tty[0-9]* rw,
|
||||
owner /dev/tty[0-9]* rw,
|
||||
|
||||
#include if exists <local/openbox_autostart>
|
||||
}
|
||||
|
|
|
@ -48,5 +48,8 @@ profile runuser @{exec_path} {
|
|||
|
||||
/etc/default/runuser r,
|
||||
|
||||
# file_inherit
|
||||
owner /tmp/debian-security-support.postinst.*/output w,
|
||||
|
||||
#include if exists <local/runuser>
|
||||
}
|
||||
|
|
|
@ -81,6 +81,10 @@ profile man_groff {
|
|||
signal peer=/usr/bin/man,
|
||||
# @{profile_name} doesn't seem to work here.
|
||||
signal peer=/usr/bin/man//&man_groff,
|
||||
|
||||
# file_inherit
|
||||
owner /tmp/* rw,
|
||||
|
||||
}
|
||||
|
||||
profile man_filter {
|
||||
|
|
Loading…
Reference in a new issue