sanders: update sepolicy.

-Fix Neverallows.
-Fix missing type.
-Fix type attributes.

Signed-off-by: Ashwin R C <ashwin2001achu@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
Ashwin R C
2019-06-07 06:13:41 -04:00
committed by ronaxdevil
parent 7cf114949c
commit f540803573
27 changed files with 51 additions and 99 deletions

View File

@@ -1,8 +1,6 @@
allow netmgrd netmgr_data_file:dir { add_name search write };
allow netmgrd netmgr_data_file:file create;
allow netmgrd netmgr_data_file:file rw_file_perms;
allow netmgrd self:capability dac_override;
allow netmgrd net_data_file:dir r_dir_perms;
allow netmgrd netd_socket:sock_file write;
# allow netmgrd toolbox_exec:file { execute getattr execute_no_trans read open };
r_dir_file(netmgrd, net_data_file)
allow netmgrd toolbox_exec:file { getattr read open };
allow netmgrd init:unix_stream_socket connectto;
allow netmgrd property_socket:sock_file write;
allow netmgrd system_file:file lock;