But where are these types and paths mapped or associated explicitly? If they aren't mapped anywhere, then how will the OS know that system_file is for /system It is mentioned that the type system_file is for the path /system and app_data_file is for /data/data subdirectories. Note: All attributes are declared in the attributes file. It means we are declaring a type app_data_file and associate this type to the attributes file_type and data_file_type Type app_data_file, file_type, data_file_type I see that Filesystem types and file types are declared in /external/sepolicy/file.te in AOSP.īut each type is representing or mapped to particular directory as mentioned in the comments.Įxample 1: #Default type for anything under /system.Įxample 2: #/data/data subdirectories - app sandboxes
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |