Merge "Add permissions for chattr"
This commit is contained in:
commit
7b6cd1e43e
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