2019-05-16 23:44:11 +02:00
|
|
|
# vendor_misc_writer
|
|
|
|
type vendor_misc_writer, domain;
|
|
|
|
type vendor_misc_writer_exec, vendor_file_type, exec_type, file_type;
|
|
|
|
|
|
|
|
# Raw writes to misc_block_device
|
|
|
|
allow vendor_misc_writer misc_block_device:blk_file w_file_perms;
|
|
|
|
allow vendor_misc_writer block_device:dir r_dir_perms;
|
|
|
|
|
2019-06-19 23:30:11 +02:00
|
|
|
# Silence the denial when calling libfstab's ReadDefaultFstab, which tries to
|
|
|
|
# load DT fstab.
|
2020-10-07 10:44:58 +02:00
|
|
|
dontaudit vendor_misc_writer gsi_metadata_file:dir search;
|
|
|
|
dontaudit vendor_misc_writer proc_cmdline:file r_file_perms;
|
2019-05-16 23:44:11 +02:00
|
|
|
dontaudit vendor_misc_writer metadata_file:dir search;
|
2019-06-19 23:30:11 +02:00
|
|
|
dontaudit vendor_misc_writer sysfs_dt_firmware_android:dir search;
|