Continuation of 9b2e0cbeea
9b2e0cbeea
changed all uses of capability
to global_capability_class_set but accidentally omitted one entry.
Fix the one entry.
Test: policy compiles.
Change-Id: I1bb8c494a2660d9f02783c93b07d4238a2575106
This commit is contained in:
parent
b6a05a93c1
commit
df642bef22
1 changed files with 1 additions and 2 deletions
|
@ -787,8 +787,7 @@ neverallow system_server { domain -system_server }:process ptrace;
|
||||||
|
|
||||||
# CAP_SYS_RESOURCE was traditionally needed for sensitive /proc/PID
|
# CAP_SYS_RESOURCE was traditionally needed for sensitive /proc/PID
|
||||||
# file read access. However, that is now unnecessary (b/34951864)
|
# file read access. However, that is now unnecessary (b/34951864)
|
||||||
# This neverallow can be removed after b/34951864 is fixed.
|
neverallow system_server system_server:global_capability_class_set sys_resource;
|
||||||
neverallow system_server system_server:capability sys_resource;
|
|
||||||
|
|
||||||
# TODO(b/67468181): Remove following lines upon resolution of this bug
|
# TODO(b/67468181): Remove following lines upon resolution of this bug
|
||||||
dontaudit system_server statscompanion_service:service_manager { add find };
|
dontaudit system_server statscompanion_service:service_manager { add find };
|
||||||
|
|
Loading…
Reference in a new issue