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

Merge "Stop O_CREAT logspam in permissive mode."

parents 9935362c 19425d3e
No related branches found
No related tags found
No related merge requests found
......@@ -1333,3 +1333,12 @@ neverallow domain {
dontaudit domain proc_type:dir write;
dontaudit domain sysfs_type:dir write;
# These are only needed in permissive mode - in enforcing mode the
# directory write check fails and so these are never attempted.
userdebug_or_eng(`
dontaudit domain proc_type:dir add_name;
dontaudit domain sysfs_type:dir add_name;
dontaudit domain proc_type:file create;
dontaudit domain sysfs_type:file create;
')
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