Introduce system_file_type
system_file_type is a new attribute used to identify files which exist on the /system partition. It's useful for allow rules in init, which are based off of a blacklist of writable files. Additionally, it's useful for constructing neverallow rules to prevent regressions. Additionally, add commented out tests which enforce that all files on the /system partition have the system_file_type attribute. These tests will be uncommented in a future change after all the device-specific policies are cleaned up. Test: Device boots and no obvious problems. Change-Id: Id9bae6625f042594c8eba74ca712abb09702c1e5
Showing
- private/atrace.te 1 addition, 1 deletionprivate/atrace.te
- private/audioserver.te 1 addition, 1 deletionprivate/audioserver.te
- private/blank_screen.te 1 addition, 1 deletionprivate/blank_screen.te
- private/blkid.te 1 addition, 1 deletionprivate/blkid.te
- private/bpfloader.te 1 addition, 1 deletionprivate/bpfloader.te
- private/dexoptanalyzer.te 1 addition, 1 deletionprivate/dexoptanalyzer.te
- private/hal_allocator_default.te 1 addition, 1 deletionprivate/hal_allocator_default.te
- private/hal_system_suspend_default.te 1 addition, 1 deletionprivate/hal_system_suspend_default.te
- private/incident.te 1 addition, 1 deletionprivate/incident.te
- private/incident_helper.te 1 addition, 1 deletionprivate/incident_helper.te
- private/incidentd.te 1 addition, 1 deletionprivate/incidentd.te
- private/mdnsd.te 1 addition, 1 deletionprivate/mdnsd.te
- private/perfetto.te 1 addition, 1 deletionprivate/perfetto.te
- private/stats.te 1 addition, 1 deletionprivate/stats.te
- private/storaged.te 1 addition, 1 deletionprivate/storaged.te
- private/surfaceflinger.te 1 addition, 1 deletionprivate/surfaceflinger.te
- private/traced.te 1 addition, 1 deletionprivate/traced.te
- private/traced_probes.te 1 addition, 1 deletionprivate/traced_probes.te
- private/wait_for_keymaster.te 1 addition, 1 deletionprivate/wait_for_keymaster.te
- public/adbd.te 1 addition, 1 deletionpublic/adbd.te
Please register or sign in to comment