Skip to content
Snippets Groups Projects
Commit e34172ed authored by Tri Vo's avatar Tri Vo Committed by android-build-merger
Browse files

Finalize cgroup permissions.

am: 235d4860

Change-Id: If4d53deebca0c4ecba7bc1f2441defa1663cb019
parents 8551db90 235d4860
No related branches found
No related tags found
No related merge requests found
......@@ -275,36 +275,8 @@ allow domain selinuxfs:filesystem getattr;
# Path resolution access in cgroups.
allow domain cgroup:dir search;
allow { coredomain -appdomain } cgroup:dir w_dir_perms;
allow { coredomain -appdomain } cgroup:file w_file_perms;
# TODO(b/110043362): Clean up cgroup access from app domains.
allow {
# Can not use all_untrusted_apps macro here, so expanding inline.
# This list is essentially { appdomain -all_untrusted_apps -priv_app }
appdomain
-ephemeral_app
-isolated_app
-mediaprovider
-untrusted_app
-untrusted_app_25
-untrusted_app_27
-untrusted_app_all
-priv_app
} cgroup:file w_file_perms;
userdebug_or_eng(`
auditallow appdomain cgroup:file w_file_perms;
')
# TODO(b/110043362): Clean up cgroup access from non-system domains.
allow { domain -coredomain } cgroup:file w_file_perms;
userdebug_or_eng(`
auditallow {
domain
-coredomain
-vendor_init
} cgroup:file w_file_perms;
')
allow { domain -appdomain } cgroup:dir w_dir_perms;
allow { domain -appdomain } cgroup:file w_file_perms;
# Almost all processes log tracing information to
# /sys/kernel/debug/tracing/trace_marker
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment