mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
profiles/postfix-master: use profile name instead of match pattern
Convert postfix's master profile to use a named profile
(postfix-master) rather than the exec path match pattern. Adjust
postfix-common abstraction to take this into account. Rename profile
name in the profiles/apparmor/profiles/extras/ directory to match
the profile name.
Signed-off-by: Steve Beattie <steve.beattie@canonical.com>
(cherry picked from commit 01648c6a61
)
This commit is contained in:
parent
68316d265b
commit
8b0e2bdc94
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
# ------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (C) 2002-2006 Novell/SUSE
|
||||
# Copyright (C) 2018 Canonical, Ltd.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of version 2 of the GNU General Public
|
||||
|
@ -10,7 +11,7 @@
|
|||
|
||||
#include <tunables/global>
|
||||
|
||||
/usr/lib/postfix/master {
|
||||
profile postfix-master /usr/lib/postfix/{sbin/,}master {
|
||||
#include <abstractions/base>
|
||||
#include <abstractions/nameservice>
|
||||
#include <abstractions/postfix-common>
|
||||
|
@ -30,7 +31,7 @@
|
|||
/usr/lib/postfix/cleanup Px,
|
||||
/usr/lib/postfix/flush Px,
|
||||
/usr/lib/postfix/local Px,
|
||||
/usr/lib/postfix/master rmix,
|
||||
/usr/lib/postfix/{sbin/,}master rmix,
|
||||
/usr/lib/postfix/nqmgr Px,
|
||||
/usr/lib/postfix/proxymap Px,
|
||||
/usr/lib/postfix/pickup Px,
|
Loading…
Add table
Reference in a new issue