mondrianlte: sepolicy rild netmgrd
This commit is contained in:
parent
b56cd5c2c5
commit
56c4be0ac7
3 changed files with 22 additions and 0 deletions
|
@ -26,5 +26,8 @@ TARGET_LD_SHIM_LIBS += \
|
|||
# Properties
|
||||
TARGET_SYSTEM_PROP += device/samsung/mondrianlte/system.prop
|
||||
|
||||
# SELinux
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/samsung/mondrianlte/sepolicy/vendor
|
||||
|
||||
# inherit from the proprietary version
|
||||
include vendor/samsung/mondrianlte/BoardConfigVendor.mk
|
||||
|
|
2
sepolicy/vendor/netmgrd.te
vendored
Normal file
2
sepolicy/vendor/netmgrd.te
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
get_prop(netmgrd, radio_prop)
|
||||
get_prop(netmgrd, default_prop)
|
17
sepolicy/vendor/rild.te
vendored
Normal file
17
sepolicy/vendor/rild.te
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
set_prop(rild, net_radio_prop)
|
||||
set_prop(rild, radio_prop)
|
||||
set_prop(rild, system_prop)
|
||||
get_prop(rild, default_prop)
|
||||
get_prop(rild, vendor_rild_libpath_prop)
|
||||
|
||||
allow rild alarm_device:chr_file rw_file_perms;
|
||||
|
||||
allow rild radio_data_file:dir rw_dir_perms;
|
||||
allow rild radio_data_file:file create_file_perms;
|
||||
allow rild radio_data_file:lnk_file read;
|
||||
|
||||
allow rild proc_net:file w_file_perms;
|
||||
allow rild proc_qtaguid_stat:file r_file_perms;
|
||||
allow rild sysfs_sec_key:file rw_file_perms;
|
||||
allow rild radio_core_data_file:file { create_file_perms open rw_file_perms getattr ioctl lock unlink };
|
||||
allow rild radio_core_data_file:dir { search open remove_name add_name rw_dir_perms };
|
Loading…
Add table
Reference in a new issue