Home | History | Annotate | Download | only in private
      1 typeattribute init coredomain;
      2 
      3 tmpfs_domain(init)
      4 
      5 # Transitions to seclabel processes in init.rc
      6 domain_trans(init, rootfs, adbd)
      7 domain_trans(init, rootfs, charger)
      8 domain_trans(init, rootfs, healthd)
      9 domain_trans(init, rootfs, slideshow)
     10 recovery_only(`
     11   domain_trans(init, rootfs, recovery)
     12 ')
     13 domain_trans(init, shell_exec, shell)
     14 domain_trans(init, init_exec, ueventd)
     15 domain_trans(init, init_exec, watchdogd)
     16 domain_trans(init, { rootfs toolbox_exec }, modprobe)
     17 # case where logpersistd is actually logcat -f in logd context (nee: logcatd)
     18 userdebug_or_eng(`
     19   domain_auto_trans(init, logcat_exec, logpersist)
     20 ')
     21 
     22 # Creating files on sysfs is impossible so this isn't a threat
     23 # Sometimes we have to write to non-existent files to avoid conditional
     24 # init behavior. See b/35303861 for an example.
     25 dontaudit init sysfs:dir write;
     26