mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
update
This commit is contained in:
parent
a3a6a0fa1a
commit
53ee5d0c83
2 changed files with 5 additions and 6 deletions
|
@ -26,8 +26,9 @@ profile su @{exec_path} {
|
||||||
|
|
||||||
signal (send) set=(term,kill),
|
signal (send) set=(term,kill),
|
||||||
signal (receive) set=(int,quit,term),
|
signal (receive) set=(int,quit,term),
|
||||||
signal (receive) set=(cont,hup) peer=sudo,
|
signal (receive) set=(cont,hup) peer=sudo,
|
||||||
|
|
||||||
|
# unknown, needs to be cleared up; TODO
|
||||||
network netlink raw,
|
network netlink raw,
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
@ -59,8 +60,6 @@ profile su @{exec_path} {
|
||||||
|
|
||||||
/dev/{,pts/}ptmx rw,
|
/dev/{,pts/}ptmx rw,
|
||||||
|
|
||||||
/var/log/btmp wk,
|
|
||||||
|
|
||||||
@{run}/dbus/system_bus_socket rw,
|
@{run}/dbus/system_bus_socket rw,
|
||||||
@{run}/systemd/userdb/ r,
|
@{run}/systemd/userdb/ r,
|
||||||
@{run}/systemd/userdb/io.systemd.Machine rw,
|
@{run}/systemd/userdb/io.systemd.Machine rw,
|
||||||
|
|
|
@ -29,8 +29,8 @@ profile sudo @{exec_path} {
|
||||||
capability sys_ptrace,
|
capability sys_ptrace,
|
||||||
capability sys_resource,
|
capability sys_resource,
|
||||||
|
|
||||||
network netlink raw,
|
network netlink raw, # PAM
|
||||||
# dns query?
|
# DNS query?
|
||||||
# network inet dgram,
|
# network inet dgram,
|
||||||
# network inet6 dgram,
|
# network inet6 dgram,
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ profile sudo @{exec_path} {
|
||||||
owner /dev/tty[0-9]* rw,
|
owner /dev/tty[0-9]* rw,
|
||||||
owner @{HOME}/.xsession-errors w,
|
owner @{HOME}/.xsession-errors w,
|
||||||
|
|
||||||
/var/lib/sudo/lectured/user rw,
|
owner /var/lib/sudo/lectured/* rw,
|
||||||
|
|
||||||
owner @{HOME}/.sudo_as_admin_successful rw,
|
owner @{HOME}/.sudo_as_admin_successful rw,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue