mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-09 10:51:03 +01:00

This patch adds the kernelvars tunable to the global set that is usually included by default in apparmor policies. It then converts the rules that are intended to match /proc/pid to use this tunable. Signed-off-by: Steve Beattie <sbeattie@ubuntu.com> Acked-By: Seth Arnold <seth.arnold@canonical.com>
22 lines
616 B
Text
22 lines
616 B
Text
# Author: Kees Cook <kees@ubuntu.com>
|
|
|
|
#include <tunables/global>
|
|
/usr/lib/dovecot/dovecot-auth {
|
|
#include <abstractions/authentication>
|
|
#include <abstractions/base>
|
|
#include <abstractions/nameservice>
|
|
#include <abstractions/wutmp>
|
|
|
|
capability setgid,
|
|
capability chown,
|
|
capability dac_override,
|
|
|
|
@{PROC}/@{pid}/mounts r,
|
|
/usr/lib/dovecot/dovecot-auth mr,
|
|
/{,var/}run/dovecot/** rw,
|
|
# required for postfix+dovecot integration
|
|
/var/spool/postfix/private/dovecot-auth w,
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
#include <local/usr.lib.dovecot.dovecot-auth>
|
|
}
|