Skip to content
Snippets Groups Projects
Commit 02ce98ea authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "remove system_server debugfs:file r_file_perms"

parents 3d533078 fe4061da
No related branches found
No related tags found
No related merge requests found
...@@ -142,8 +142,6 @@ allow system_server stats_data_file:dir { open read remove_name search write }; ...@@ -142,8 +142,6 @@ allow system_server stats_data_file:dir { open read remove_name search write };
allow system_server stats_data_file:file unlink; allow system_server stats_data_file:file unlink;
# Read /sys/kernel/debug/wakeup_sources. # Read /sys/kernel/debug/wakeup_sources.
allow system_server debugfs:file r_file_perms;
auditallow system_server debugfs:file r_file_perms;
allow system_server debugfs_wakeup_sources:file r_file_perms; allow system_server debugfs_wakeup_sources:file r_file_perms;
# Delete /data/misc/stats-data/ and /data/misc/stats-service/ directories. # Delete /data/misc/stats-data/ and /data/misc/stats-service/ directories.
......
...@@ -1387,8 +1387,8 @@ neverallow * domain:file { execute execute_no_trans entrypoint }; ...@@ -1387,8 +1387,8 @@ neverallow * domain:file { execute execute_no_trans entrypoint };
# Do not allow access to the generic debugfs label. This is too broad. # Do not allow access to the generic debugfs label. This is too broad.
# Instead, if access to part of debugfs is desired, it should have a # Instead, if access to part of debugfs is desired, it should have a
# more specific label. # more specific label.
# TODO: fix system_server and dumpstate # TODO: fix dumpstate
neverallow { domain -init -vendor_init -system_server -dumpstate } debugfs:file no_rw_file_perms; neverallow { domain -init -vendor_init -dumpstate } debugfs:file no_rw_file_perms;
# Profiles contain untrusted data and profman parses that. We should only run # Profiles contain untrusted data and profman parses that. We should only run
# in from installd forked processes. # in from installd forked processes.
......
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