am 33da6091
: Allow all domains to read /dev symlinks.
* commit '33da609157619eed21a136226e6883ca1d20105b': Allow all domains to read /dev symlinks.
This commit is contained in:
commit
2d01809e23
4 changed files with 1 additions and 5 deletions
3
cts.te
3
cts.te
|
@ -23,9 +23,6 @@ allow appdomain file_type:dir_file_class_set getattr;
|
|||
allow appdomain dev_type:dir_file_class_set getattr;
|
||||
allow appdomain fs_type:dir_file_class_set getattr;
|
||||
|
||||
# Read permission over link file to devices.
|
||||
allow appdomain dev_type:lnk_file read;
|
||||
|
||||
# Tries to open /dev/alarm for writing but expects failure.
|
||||
dontaudit appdomain alarm_device:chr_file write;
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@ allow domain rootfs:lnk_file { read getattr };
|
|||
|
||||
# Device accesses.
|
||||
allow domain device:dir search;
|
||||
allow domain dev_type:lnk_file read;
|
||||
allow domain devpts:dir search;
|
||||
allow domain device:file read;
|
||||
allow domain socket_device:dir search;
|
||||
|
|
1
rild.te
1
rild.te
|
@ -22,7 +22,6 @@ allow rild bluetooth_efs_file:file r_file_perms;
|
|||
allow rild bluetooth_efs_file:dir r_dir_perms;
|
||||
allow rild radio_data_file:dir r_dir_perms;
|
||||
allow rild radio_data_file:file rw_file_perms;
|
||||
allow rild radio_device:lnk_file r_file_perms;
|
||||
allow rild sdcard_type:dir r_dir_perms;
|
||||
allow rild system_data_file:dir create_dir_perms;
|
||||
allow rild system_data_file:file create_file_perms;
|
||||
|
|
1
vold.te
1
vold.te
|
@ -7,7 +7,6 @@ typeattribute vold mlstrustedsubject;
|
|||
allow vold system_file:file x_file_perms;
|
||||
allow vold block_device:dir create_dir_perms;
|
||||
allow vold block_device:blk_file create_file_perms;
|
||||
allow vold block_device:lnk_file read;
|
||||
allow vold devpts:chr_file rw_file_perms;
|
||||
allow vold rootfs:dir mounton;
|
||||
allow vold sdcard_type:dir mounton;
|
||||
|
|
Loading…
Reference in a new issue