Commit 18c9b3f8 authored by fire855's avatar fire855
Browse files

sepolicy: update emsvr policy

parent 5aebd539
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -3,7 +3,8 @@ type em_svr, domain;

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 };
allow em_svr gsensor_device:chr_file r_file_perms;
allow em_svr gyroscope_device:chr_file r_file_perms;
allow em_svr nvdata_file:dir rw_dir_perms;
allow em_svr nvdata_file:file rw_file_perms;
allow em_svr nvdata_file:lnk_file r_file_perms;