2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-01 06:45:38 +00:00

add dovecot/stats profile, and allow dovecot to run it

References: https://bugzilla.opensuse.org/show_bug.cgi?id=1088161
This commit is contained in:
Christian Boltz
2018-04-11 21:34:51 +02:00
committed by Christian Boltz
parent 776975dc38
commit 36bdd6ea70
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# ------------------------------------------------------------------
#
# Copyright (C) 2018 Christian Boltz
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
# vim: ft=apparmor
#include <tunables/global>
/usr/lib/dovecot/stats {
#include <abstractions/base>
#include <abstractions/dovecot-common>
capability setuid,
capability sys_chroot,
/usr/lib/dovecot/stats mr,
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.lib.dovecot.stats>
}

View File

@@ -54,6 +54,7 @@
/usr/lib/dovecot/pop3-login Pxmr,
/usr/lib/dovecot/ssl-build-param rix,
/usr/lib/dovecot/ssl-params mrPx,
/usr/lib/dovecot/stats Px,
/usr/sbin/dovecot mrix,
/usr/share/dovecot/protocols.d/ r,
/usr/share/dovecot/protocols.d/** r,