diff options
author | Eric Paris <eparis@redhat.com> | 2009-03-05 19:43:35 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-03-05 22:50:21 +0100 |
commit | dd34b5d75a0405814a3de83f02a44ac297e81629 (patch) | |
tree | f24939a7b7f6b33c44939ee4022d7e95b3f670b6 /security/selinux/nlmsgtab.c | |
parent | SELinux: open perm for sock files (diff) | |
download | linux-dd34b5d75a0405814a3de83f02a44ac297e81629.tar.xz linux-dd34b5d75a0405814a3de83f02a44ac297e81629.zip |
SELinux: new permission between tty audit and audit socket
New selinux permission to separate the ability to turn on tty auditing from
the ability to set audit rules.
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to '')
-rw-r--r-- | security/selinux/nlmsgtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/nlmsgtab.c b/security/selinux/nlmsgtab.c index 4ed7bab89c59..c6875fd3b9d6 100644 --- a/security/selinux/nlmsgtab.c +++ b/security/selinux/nlmsgtab.c @@ -113,7 +113,7 @@ static struct nlmsg_perm nlmsg_audit_perms[] = { AUDIT_USER, NETLINK_AUDIT_SOCKET__NLMSG_RELAY }, { AUDIT_SIGNAL_INFO, NETLINK_AUDIT_SOCKET__NLMSG_READ }, { AUDIT_TTY_GET, NETLINK_AUDIT_SOCKET__NLMSG_READ }, - { AUDIT_TTY_SET, NETLINK_AUDIT_SOCKET__NLMSG_WRITE }, + { AUDIT_TTY_SET, NETLINK_AUDIT_SOCKET__NLMSG_TTY_AUDIT }, }; |