Merge "Add permissions for chattr" am: 7b6cd1e43e

Change-Id: Id464200407baf62f06dc5c9cfe9c1919f16e3cc0
This commit is contained in:
Automerger Merge Worker 2020-01-30 17:43:08 +00:00
commit 5b2b1f10c8

View file

@ -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 };