Add audit_read permission to capability2

In kernel 3.18 following error message is seen
since audit_read is added to capability2 at classmap.h
So add audit_read permission to capability2.

SELinux:  Permission audit_read in class capability2 not defined in policy.
SELinux: the above unknown classes and permissions will be denied

The kernel change from AOSP is:
3a101b8de0%5E%21/security/selinux/include/classmap.h

Change-Id: I236fbb8ac575c5cb8df097014da6395e20378175
Signed-off-by: Woojung Min <wmin@nvidia.com>
This commit is contained in:
Woojung Min 2015-10-01 15:49:32 +09:00
parent 483fd26735
commit 3198cb5100

View file

@ -406,6 +406,7 @@ class capability2
syslog
wake_alarm
block_suspend
audit_read
}
#