Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
s4-common: SELinux perms for vibration, ums
* Vibration amp permissions moved from system_app to system_server * Block write permission for kernel when writing in UMS mode Change-Id: Iaac887f10dba4fa6c713f1ee8bcc5127cf67c7f5
- Loading branch information
1 parent
21a65ec
commit 5755d48
Showing
4 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
allow kernel block_device:blk_file write; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
allow system_app shell_data_file:dir search; | ||
allow system_app vibeamp_sysfs:file { getattr open read write }; | ||
allow system_app vibeamp_sysfs:dir search; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
allow system_server timerirq_device:chr_file { open read write ioctl }; | ||
allow system_server vibeamp_sysfs:dir search; | ||
allow system_server vibeamp_sysfs:file { getattr open read write }; | ||
allow system_server wifi_data_file:lnk_file { read write }; |