sdm845-common: sepolicy: Address init denials
Change-Id: Ib68ab9934cc3668eae004812c56692e2a5a010d2
This commit is contained in:
parent
5337b5167a
commit
b8e72b1ff6
2 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,7 @@ type sysfs_fod, sysfs_type, fs_type;
|
||||||
type sysfs_fpc_proximity, sysfs_type, fs_type;
|
type sysfs_fpc_proximity, sysfs_type, fs_type;
|
||||||
type sysfs_graphics, sysfs_type, fs_type;
|
type sysfs_graphics, sysfs_type, fs_type;
|
||||||
type sysfs_oem, sysfs_type, fs_type;
|
type sysfs_oem, sysfs_type, fs_type;
|
||||||
|
type sysfs_usb_supply, sysfs_type, fs_type;
|
||||||
|
|
||||||
# data
|
# data
|
||||||
type display_misc_file, file_type, data_file_type, core_data_file_type;
|
type display_misc_file, file_type, data_file_type, core_data_file_type;
|
||||||
|
|
|
@ -6,3 +6,6 @@ allow init {
|
||||||
sysfs_fpc_proximity
|
sysfs_fpc_proximity
|
||||||
sysfs_graphics
|
sysfs_graphics
|
||||||
}:file { open read setattr };
|
}:file { open read setattr };
|
||||||
|
|
||||||
|
# Allow init to write to otg_switch
|
||||||
|
allow init sysfs_usb_supply:file w_file_perms;
|
||||||
|
|
Loading…
Reference in a new issue