Move sg_device related policy

Bug: 312582937
Test: make selinux_policy
Change-Id: Ic71e4eb53e22b24651e76e2d480d34affa01460b
Signed-off-by: Randall Huang <huangrandall@google.com>
This commit is contained in:
Randall Huang 2023-11-22 13:53:05 +08:00
parent 057e9b0f74
commit b2f0956771
3 changed files with 3 additions and 0 deletions

View file

@ -1,3 +1,4 @@
type debugfs_f2fs, debugfs_type, fs_type;
type dump_storage_data_file, file_type, data_file_type;
type sg_device, dev_type;
type sg_util_exec, exec_type, vendor_file_type, file_type;

View file

@ -0,0 +1 @@
allow vendor_init sg_device:chr_file r_file_perms;