Move sg_device related policy

Bug: 312582937
Test: make selinux_policy
Change-Id: Ic64acb35898e8517141e2fcffb4e2ff71b3b5345
Signed-off-by: Randall Huang <huangrandall@google.com>
This commit is contained in:
Randall Huang 2023-11-22 14:42:38 +08:00
parent eddd28d140
commit a5f3627328
3 changed files with 0 additions and 3 deletions

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 tee_data_file:dir rw_dir_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 block_device:dir search;

1
vendor/device.te vendored
View file

@ -1 +0,0 @@
type sg_device, dev_type;

View file

@ -1,4 +1,3 @@
# USB property
set_prop(vendor_init, vendor_usb_config_prop)
allow vendor_init sg_device:chr_file r_file_perms;