apparmor/profiles/apparmor.d/usr.sbin.mdnsd
Christian Boltz b77116e6af
Add profile names to all profiles with {bin,sbin} attachment
Also adjust the signal rules in the dovecot-common and apache2-common
abstractions to match the profile names, and to really do that
(peer=...{bin,sbin}... didn't work, the correct syntax would have been
peer=...\{bin,sbin\}...)

This fixes the regression introduced by !149 / commit
4200932d8f
2018-10-15 20:57:33 +02:00

36 lines
973 B
Text

# ------------------------------------------------------------------
#
# Copyright (C) 2002-2009 Novell/SUSE
# Copyright (C) 2010 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
# License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
#include <tunables/global>
profile mdnsd /usr/{bin,sbin}/mdnsd {
#include <abstractions/base>
#include <abstractions/consoles>
#include <abstractions/nameservice>
capability net_bind_service,
capability setgid,
capability setuid,
capability sys_chroot,
capability sys_resource,
network netlink dgram,
/usr/{bin,sbin}/mdnsd rmix,
@{PROC}/net/ r,
@{PROC}/net/unix r,
/{,var/}run/mdnsd lw,
/{,var/}run/mdnsd.pid w,
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.sbin.mdnsd>
}