mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 13:58:22 +00:00
nscd profile: allow paranoia mode
In /etc/nscd.conf there is an option allowing to restart nscd after a certain time. However, this requires reading /proc/self/cmdline - otherwise nscd will disable paranoia mode. References: https://bugzilla.opensuse.org/show_bug.cgi?id=971790 Acked-By: Jamie Strandboge <jamie@canonical.com> for trunk, 2.10 and 2.9
This commit is contained in:
@@ -31,6 +31,7 @@
|
|||||||
/{var/cache,var/run,run}/nscd/{passwd,group,services,hosts,netgroup} rw,
|
/{var/cache,var/run,run}/nscd/{passwd,group,services,hosts,netgroup} rw,
|
||||||
/{,var/}run/{nscd/,}nscd.pid rwl,
|
/{,var/}run/{nscd/,}nscd.pid rwl,
|
||||||
/var/log/nscd.log rw,
|
/var/log/nscd.log rw,
|
||||||
|
@{PROC}/@{pid}/cmdline r,
|
||||||
@{PROC}/@{pid}/fd/ r,
|
@{PROC}/@{pid}/fd/ r,
|
||||||
@{PROC}/@{pid}/fd/* r,
|
@{PROC}/@{pid}/fd/* r,
|
||||||
@{PROC}/@{pid}/mounts r,
|
@{PROC}/@{pid}/mounts r,
|
||||||
|
Reference in New Issue
Block a user