Move sg_device related policy

Bug: 312582937
Test: make selinux_policy
Change-Id: Ic6e1f6228764cd2ddc96d574a10838ca4bc05332
Signed-off-by: Randall Huang <huangrandall@google.com>
This commit is contained in:
Randall Huang 2023-11-22 14:21:06 +08:00
parent 039124e7a4
commit 60b467ac40
3 changed files with 0 additions and 3 deletions

View file

@ -1,4 +1,3 @@
type sg_device, dev_type;
type vendor_toe_device, dev_type; type vendor_toe_device, dev_type;
type lwis_device, dev_type; type lwis_device, dev_type;
type rls_device, dev_type; type rls_device, dev_type;

1
vendor/tee.te vendored
View file

@ -7,7 +7,6 @@ allow tee persist_file:dir r_dir_perms;
allow tee mnt_vendor_file:dir r_dir_perms; allow tee mnt_vendor_file:dir r_dir_perms;
allow tee tee_data_file:dir rw_dir_perms; allow tee tee_data_file:dir rw_dir_perms;
allow tee tee_data_file:lnk_file r_file_perms; allow tee tee_data_file:lnk_file r_file_perms;
allow tee sg_device:chr_file rw_file_perms;
allow tee tee_persist_block_device:blk_file rw_file_perms; allow tee tee_persist_block_device:blk_file rw_file_perms;
allow tee block_device:dir search; allow tee block_device:dir search;

View file

@ -7,7 +7,6 @@ set_prop(vendor_init, logpersistd_logging_prop)
allow vendor_init proc_dirty:file w_file_perms; allow vendor_init proc_dirty:file w_file_perms;
allow vendor_init proc_sched:file w_file_perms; allow vendor_init proc_sched:file w_file_perms;
allow vendor_init sg_device:chr_file r_file_perms;
allow vendor_init bootdevice_sysdev:file create_file_perms; allow vendor_init bootdevice_sysdev:file create_file_perms;
allow vendor_init modem_img_file:filesystem { getattr }; allow vendor_init modem_img_file:filesystem { getattr };