diff options
author | Eric Paris <eparis@redhat.com> | 2012-07-06 14:13:29 -0400 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2012-07-15 21:40:31 -0400 |
commit | 64919e60915c5151b3dd4c8d2d9237a115ca990c (patch) | |
tree | 712cbc272e15a3b3fe70f27a1ac1d7c57bf2300c /security/selinux | |
parent | 918227bb1b59444a2c467711fd50cc22bb4a897b (diff) |
SELinux: include definition of new capabilities
The kernel has added CAP_WAKE_ALARM and CAP_EPOLLWAKEUP. We need to
define these in SELinux so they can be mediated by policy.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'security/selinux')
-rw-r--r-- | security/selinux/include/classmap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/selinux/include/classmap.h b/security/selinux/include/classmap.h index b8c53723e09b..0b04fd9e9e3e 100644 --- a/security/selinux/include/classmap.h +++ b/security/selinux/include/classmap.h | |||
@@ -145,7 +145,9 @@ struct security_class_mapping secclass_map[] = { | |||
145 | "node_bind", "name_connect", NULL } }, | 145 | "node_bind", "name_connect", NULL } }, |
146 | { "memprotect", { "mmap_zero", NULL } }, | 146 | { "memprotect", { "mmap_zero", NULL } }, |
147 | { "peer", { "recv", NULL } }, | 147 | { "peer", { "recv", NULL } }, |
148 | { "capability2", { "mac_override", "mac_admin", "syslog", NULL } }, | 148 | { "capability2", |
149 | { "mac_override", "mac_admin", "syslog", "wake_alarm", "epollwakeup", | ||
150 | NULL } }, | ||
149 | { "kernel_service", { "use_as_override", "create_files_as", NULL } }, | 151 | { "kernel_service", { "use_as_override", "create_files_as", NULL } }, |
150 | { "tun_socket", | 152 | { "tun_socket", |
151 | { COMMON_SOCK_PERMS, NULL } }, | 153 | { COMMON_SOCK_PERMS, NULL } }, |