Files
Stricted 9a2030010d [WIP]start this selinux mess
* taken from https://github.com/lineage-geminipda/android_device_planet_geminipda

Change-Id: I80708a4650646ecd870b60217cafc0212aa2022e
(cherry picked from commit ce9dd0181db0cdeabb9edaf3781d74fb6645bb98)
2021-01-17 01:13:03 +00:00

9 lines
366 B
Plaintext

type em_svr_exec, exec_type, file_type;
type em_svr, domain, domain_deprecated;
init_daemon_domain(em_svr)
allow em_svr gsensor_device:chr_file { read ioctl open };
allow em_svr gyroscope_device:chr_file { read ioctl open };
allow em_svr nvdata_file:dir { write read open add_name search };
allow em_svr nvdata_file:file { write getattr setattr read create open };