apparmor/profiles/apparmor.d/usr.sbin.identd
John Johansen f1b4da2f64 policy: update to use 4.0 abi
Begin preparing policy for the 4.0 release. This may result in new
denials. This is expected and needed to make sure policy is ready
for the 4.0 release.

Signed-off-by: John Johansen <john.johansen@canonical.com>
2023-06-30 23:36:12 -07:00

35 lines
1 KiB
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.
#
# ------------------------------------------------------------------
abi <abi/4.0>,
include <tunables/global>
profile identd /usr/{bin,sbin}/identd {
include <abstractions/base>
include <abstractions/nameservice>
capability net_bind_service,
capability setgid,
capability setuid,
network netlink dgram,
/etc/identd.conf r,
/etc/identd.key r,
/etc/identd.pid w,
/usr/{bin,sbin}/identd rmix,
@{PROC}/net/tcp r,
@{PROC}/net/tcp6 r,
@{run}/identd.pid w,
@{run}/identd/ w,
@{run}/identd/identd.pid w,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/usr.sbin.identd>
}