Skip to content

Commit

Permalink
sepolicy_vndr: Allow init/vendor_init to write proc firmware config
Browse files Browse the repository at this point in the history
Change-Id: Id0e64302dbbdc53620cbc1825c36e13bb9e58aef
  • Loading branch information
hellobbn authored and someone5678 committed Sep 24, 2024
1 parent cc113d7 commit 43f02ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generic/vendor/common/init.te
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,5 @@ allow init vendor_sysfs_graphics:file w_file_perms;
allow init vendor_sysfs_graphics:dir search;
allow init vendor_sysfs_usb_device:file w_file_perms;
')

allow init vendor_proc_firmware_cfg:file w_file_perms;
1 change: 1 addition & 0 deletions generic/vendor/common/vendor_init.te
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ allow vendor_init unlabeled:dir { r_dir_perms setattr relabelfrom };
allow vendor_init unlabeled:file { r_file_perms setattr relabelfrom };
allow vendor_init vendor_ipa_dev:chr_file w_file_perms;
allow vendor_init proc:file write;
allow vendor_init vendor_proc_firmware_cfg:file w_file_perms;

allow vendor_init self:capability sys_module;

Expand Down

0 comments on commit 43f02ac

Please sign in to comment.