Stop O_CREAT logspam in permissive mode.
am: 7d4294cb4f
Change-Id: I3daa6a6ff9a5a978a12b700253b2843502b09982
This commit is contained in:
commit
a93b8700f9
1 changed files with 9 additions and 0 deletions
|
@ -1335,3 +1335,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;
|
||||
')
|
||||
|
|
Loading…
Reference in a new issue