-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Moar macros * Remove forced selinux context on persist Change-Id: I073fb49bff42e73a76494046452556344eddcba1
- Loading branch information
Showing
21 changed files
with
35 additions
and
48 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
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 @@ | ||
# Shouldn't do this here | ||
allow cameraserver self:netlink_kobject_uevent_socket { read bind create setopt }; | ||
allow cameraserver self:netlink_kobject_uevent_socket create_socket_perms; |
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
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,9 +1,8 @@ | ||
allow fingerprintd firmware_file:dir search; | ||
allow fingerprintd firmware_file:file { getattr open read }; | ||
allow fingerprintd fingerprintd_data_file:dir { add_name getattr remove_name write }; | ||
allow fingerprintd fingerprintd_data_file:file { append create getattr open setattr unlink }; | ||
allow fingerprintd fingerprintd_data_file:sock_file { create unlink }; | ||
allow fingerprintd sysfs_mmi_fp:dir { open read search }; | ||
allow fingerprintd fingerprintd_data_file:dir rw_dir_perms; | ||
allow fingerprintd fingerprintd_data_file:file create_file_perms; | ||
allow fingerprintd fingerprintd_data_file:sock_file create_file_perms; | ||
allow fingerprintd sysfs_mmi_fp:dir r_dir_perms; | ||
allow fingerprintd sysfs_mmi_fp:file rw_file_perms; | ||
allow fingerprintd system_data_file:sock_file unlink; | ||
allow fingerprintd tee_device:chr_file { ioctl open read write }; | ||
allow fingerprintd tee_device:chr_file rw_file_perms; | ||
r_dir_file(fingerprintd, firmware_file) |
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 |
---|---|---|
@@ -1 +1 @@ | ||
allow mediacodec firmware_file:file { open read }; | ||
allow mediacodec firmware_file:file r_file_perms; |
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 @@ | ||
allow mediadrmserver firmware_file:dir search; | ||
allow mediadrmserver firmware_file:file r_file_perms; | ||
r_dir_file(mediadrmserver, firmware_file) |
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 @@ | ||
allow mediaserver persist_file:dir search; | ||
allow mediaserver persist_file:file { read getattr open }; | ||
r_dir_file(mediaserver, persist_file) |
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,4 +1,3 @@ | ||
allow mm-qcamerad laser_device:chr_file { read write ioctl open }; | ||
allow mm-qcamerad persist_file:dir search; | ||
allow mm-qcamerad persist_file:file { read getattr open }; | ||
allow mm-qcamerad laser_device:chr_file rw_file_perms; | ||
allow mm-qcamerad persist_file:file r_file_perms; | ||
allow mm-qcamerad system_data_file:dir read; |
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
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,2 @@ | ||
allow netmgrd netmgr_data_file:dir { add_name search write }; | ||
allow netmgrd netmgr_data_file:file create; | ||
allow netmgrd netmgr_data_file:file rw_file_perms; | ||
allow netmgrd netmgr_data_file:dir w_dir_perms; | ||
allow netmgrd netmgr_data_file:file create_file_perms; |
This file was deleted.
Oops, something went wrong.
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,4 +1,4 @@ | ||
allow rild persist_file:dir search; | ||
allow rild persist_file:file rw_file_perms; | ||
allow rild system_data_file:dir { write add_name remove_name }; | ||
allow rild system_data_file:sock_file { create write unlink }; | ||
allow rild system_data_file:dir w_dir_perms; | ||
allow rild system_data_file:sock_file create_file_perms; |
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,2 @@ | ||
allow rmt_storage fsg_file:dir search; | ||
allow rmt_storage fsg_file:file { read open }; | ||
allow rmt_storage self:capability dac_override; | ||
r_dir_file(rmt_storage, fsg_file) |
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,3 @@ | ||
allow system_app sysfs_mmi_fp:file rw_file_perms; | ||
allow system_app sysfs_mmi_fp:dir search; | ||
binder_call(system_app, fingerprintd) |
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 @@ | ||
allow system_server persist_file:dir rw_dir_perms; | ||
allow system_server persist_file:file rw_file_perms; | ||
allow system_server debugfs:dir r_dir_perms; |
This file was deleted.
Oops, something went wrong.
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,4 +1,3 @@ | ||
allow ueventd device:chr_file { relabelfrom relabelto }; | ||
allow ueventd sysfs_mmi_fp:file w_file_perms; | ||
allow ueventd sysfs_mmi_touch:file w_file_perms; | ||
allow ueventd sysfs_mmi_touch:dir search; |