mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
update and cleanup usr.sbin.dovecot profile
Add #include <abstractions/dovecot-common> to the usr.sbin.dovecot profile. Effectively this adds "deny capability block_suspend," which is the only missing part from https://bugs.launchpad.net/apparmor/+bug/1296667/ Also remove "capability setgid," (covered by abstractions/dovecot-common) and "@{PROC}/filesystems r," (part of abstractions/base). Acked-by: John Johansen <john.johansen@canonical.com> (backport of trunk r2840)
This commit is contained in:
parent
09c93be47c
commit
e8ffc1c4e8
1 changed files with 1 additions and 2 deletions
|
@ -15,6 +15,7 @@
|
|||
/usr/sbin/dovecot {
|
||||
#include <abstractions/authentication>
|
||||
#include <abstractions/base>
|
||||
#include <abstractions/dovecot-common>
|
||||
#include <abstractions/mysql>
|
||||
#include <abstractions/nameservice>
|
||||
#include <abstractions/ssl_certs>
|
||||
|
@ -25,7 +26,6 @@
|
|||
capability fsetid,
|
||||
capability kill,
|
||||
capability net_bind_service,
|
||||
capability setgid,
|
||||
capability setuid,
|
||||
capability sys_chroot,
|
||||
|
||||
|
@ -34,7 +34,6 @@
|
|||
/etc/lsb-release r,
|
||||
/etc/SuSE-release r,
|
||||
@{PROC}/@{pid}/mounts r,
|
||||
@{PROC}/filesystems r,
|
||||
/usr/bin/doveconf rix,
|
||||
/usr/lib/dovecot/anvil Px,
|
||||
/usr/lib/dovecot/auth Px,
|
||||
|
|
Loading…
Add table
Reference in a new issue