mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00

tunables/proc and modifies all users of /proc to use the variable instead. I also converted some uses of /proc/*/ to /proc/[0-9]*/ to be a little more restrictive, as well as removing some references to proc files that are already covered by abstractions/base (the removals in abstractions/bash seem justified as all uses of abstractions/bash are immediately preceded by abstractions/base).
27 lines
785 B
Text
27 lines
785 B
Text
# $Id$
|
|
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2002-2005 Novell/SUSE
|
|
#
|
|
# 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>
|
|
|
|
/usr/sbin/identd {
|
|
#include <abstractions/base>
|
|
#include <abstractions/nameservice>
|
|
capability net_bind_service,
|
|
capability setgid,
|
|
capability setuid,
|
|
/etc/identd.conf r,
|
|
/etc/identd.key r,
|
|
/etc/identd.pid w,
|
|
/usr/sbin/identd rmix,
|
|
@{PROC}/net/tcp r,
|
|
@{PROC}/net/tcp6 r,
|
|
/var/run/identd.pid w,
|
|
}
|