mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
918227bb1b
commit
64919e6091
1 changed files with 3 additions and 1 deletions
|
@ -145,7 +145,9 @@ struct security_class_mapping secclass_map[] = {
|
||||||
"node_bind", "name_connect", NULL } },
|
"node_bind", "name_connect", NULL } },
|
||||||
{ "memprotect", { "mmap_zero", NULL } },
|
{ "memprotect", { "mmap_zero", NULL } },
|
||||||
{ "peer", { "recv", NULL } },
|
{ "peer", { "recv", NULL } },
|
||||||
{ "capability2", { "mac_override", "mac_admin", "syslog", NULL } },
|
{ "capability2",
|
||||||
|
{ "mac_override", "mac_admin", "syslog", "wake_alarm", "epollwakeup",
|
||||||
|
NULL } },
|
||||||
{ "kernel_service", { "use_as_override", "create_files_as", NULL } },
|
{ "kernel_service", { "use_as_override", "create_files_as", NULL } },
|
||||||
{ "tun_socket",
|
{ "tun_socket",
|
||||||
{ COMMON_SOCK_PERMS, NULL } },
|
{ COMMON_SOCK_PERMS, NULL } },
|
||||||
|
|
Loading…
Reference in a new issue