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