Merge "Add permissions for chattr" am: 7b6cd1e43e
Change-Id: Id464200407baf62f06dc5c9cfe9c1919f16e3cc0
This commit is contained in:
commit
5b2b1f10c8
1 changed files with 4 additions and 0 deletions
|
@ -27,3 +27,7 @@ neverallow toolbox { file_type fs_type -toolbox_exec}:file entrypoint;
|
|||
allow toolbox system_data_root_file:dir { remove_name write };
|
||||
allow toolbox system_data_file:dir { rmdir rw_dir_perms };
|
||||
allow toolbox system_data_file:file { getattr unlink };
|
||||
|
||||
# chattr +F /data/media in init
|
||||
allow toolbox media_rw_data_file:dir { r_dir_perms };
|
||||
allowxperm toolbox media_rw_data_file:dir ioctl { FS_IOC_SETFLAGS FS_IOC_GETFLAGS };
|
||||
|
|
Loading…
Reference in a new issue