platform_system_sepolicy/private/tombstoned.te
Inseob Kim 85acf6ef70 Fix broken neverallow rules
neverallow rules with allowlist should look like:

    neverallow { domain -allow1 -allow2 } ...

Bug: 181744894
Test: m selinux_policy
Test: pcregrep -M -r "neverallow\s+{(\s*#.*\s*)*\s+-" .
Change-Id: Ibab72ccc1fbacb99b62fe127b4122e1ac22b938a
2021-03-10 10:44:22 +09:00

13 lines
244 B
Text

typeattribute tombstoned coredomain;
init_daemon_domain(tombstoned)
get_prop(tombstoned, tombstone_config_prop)
neverallow {
domain
-init
-vendor_init
-dumpstate
-tombstoned
} tombstone_config_prop:file no_rw_file_perms;