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

Merge "Deprivilege haiku"

parents e5616f0d f45db06c
No related branches found
No related tags found
No related merge requests found
......@@ -5,10 +5,6 @@ type storaged_exec, exec_type, file_type;
init_daemon_domain(storaged)
# Read access to pseudo filesystems
r_dir_file(storaged, proc_net_type)
userdebug_or_eng(`
auditallow storaged proc_net_type:{ dir file lnk_file } { getattr open read };
')
r_dir_file(storaged, domain)
# Read /proc/uid_io/stats
......
......@@ -92,12 +92,6 @@ allow zygote storage_file:dir { search mounton };
# Handle --invoke-with command when launching Zygote with a wrapper command.
allow zygote zygote_exec:file rx_file_perms;
# Read access to pseudo filesystems.
r_dir_file(zygote, proc_net_type)
userdebug_or_eng(`
auditallow zygote proc_net_type:{ dir file lnk_file } { getattr open read };
')
# Root fs.
r_dir_file(zygote, rootfs)
......
......@@ -6,10 +6,6 @@ type logd_exec, exec_type, file_type;
r_dir_file(logd, cgroup)
r_dir_file(logd, proc_kmsg)
r_dir_file(logd, proc_meminfo)
r_dir_file(logd, proc_net_type)
userdebug_or_eng(`
auditallow logd proc_net_type:{ dir file lnk_file } { getattr open read };
')
allow logd self:global_capability_class_set { setuid setgid setpcap sys_nice audit_control };
allow logd self:global_capability2_class_set syslog;
......
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