mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
address selinux denials
This commit is contained in:
parent
049f9acfa5
commit
0c82e57225
6 changed files with 18 additions and 0 deletions
2
sepolicy/common/hal_keymaster_default.te
Normal file
2
sepolicy/common/hal_keymaster_default.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
allow hal_keymaster_default vfat:dir search;
|
||||
allow hal_keymaster_default vfat:file { getattr open read };
|
|
@ -1 +1,2 @@
|
|||
allow hal_power_default sysfs_hal_pwr:file w_file_perms;
|
||||
allow hal_power_default sysfs:file { open write };
|
||||
|
|
9
sepolicy/common/init.te
Normal file
9
sepolicy/common/init.te
Normal file
|
@ -0,0 +1,9 @@
|
|||
allow init debugfs:dir mounton;
|
||||
allow init kernel:security check_context;
|
||||
allow init rtc_device:chr_file ioctl;
|
||||
allow init self:netlink_kobject_uevent_socket read;
|
||||
allow init self:socket create;
|
||||
allow init smd_device:chr_file write;
|
||||
allow init tee_device:chr_file { ioctl write };
|
||||
allow init video_device:chr_file { ioctl write };
|
||||
allow init wcnss_device:chr_file write;
|
2
sepolicy/common/keystore.te
Normal file
2
sepolicy/common/keystore.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
allow keystore vfat:dir search;
|
||||
allow keystore vfat:file { open read };
|
|
@ -6,3 +6,5 @@ allow rild radio_data_file:lnk_file read;
|
|||
|
||||
allow rild proc_net:file w_file_perms;
|
||||
allow rild sysfs_sec:file rw_file_perms;
|
||||
|
||||
allow rild unlabeled:file { getattr open read };
|
||||
|
|
2
sepolicy/common/ueventd.te
Normal file
2
sepolicy/common/ueventd.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
allow ueventd vfat:dir search;
|
||||
allow ueventd vfat:file { getattr open read };
|
Loading…
Reference in a new issue