sepolicy: corrected firmware_file file type association

As we no longer us firmware mount on root/system  we are
de-associating  system_file_type form it .
Change-Id: If2a8153436f4ffaa5e5539c09df184a7b9e5fbb8
This commit is contained in:
Jaihind Yadav
2019-03-08 17:34:16 +05:30
committed by Gerrit - the friendly Code Review server
parent 1b6976b1a6
commit eba0bd917b
4 changed files with 1 additions and 11 deletions

View File

@@ -26,7 +26,7 @@
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Default type for anything under /firmware.
type firmware_file, system_file_type, file_type, contextmount_type, vendor_file_type;
type firmware_file, file_type, contextmount_type, vendor_file_type;
# All files under /vendor/firmware
type vendor_firmware_file, vendor_file_type, file_type;

View File

@@ -723,14 +723,10 @@
# firmware images
#
/vendor/firmware(/.*)? u:object_r:vendor_firmware_file:s0
/system/etc/firmware(/.*)? u:object_r:firmware_file:s0
/system/vendor/firmware(/.*)? u:object_r:firmware_file:s0
/firmware/image(/.*)? u:object_r:firmware_file:s0
/vendor/bt_firmware(/.*)? u:object_r:bt_firmware_file:s0
/vendor/firmware_mnt(/.*)? u:object_r:firmware_file:s0
/bt_firmware/bt_firmware(/.*)? u:object_r:bt_firmware_file:s0
/(vendor|system/vendor)/bin/grep u:object_r:vendor_toolbox_exec:s0
##################################
#vendor toolbox

View File

@@ -144,9 +144,6 @@
##################################
# non-hlos mount points
/firmware u:object_r:firmware_file:s0
/bt_firmware u:object_r:bt_firmware_file:s0
# FBE
/(vendor|system/vendor)/bin/init.qti.qseecomd.sh u:object_r:init-qti-fbe-sh_exec:s0

View File

@@ -88,9 +88,6 @@
##################################
# non-hlos mount points
/firmware u:object_r:firmware_file:s0
/bt_firmware u:object_r:bt_firmware_file:s0
# FBE
/(vendor|system/vendor)/bin/init.qti.qseecomd.sh u:object_r:init-qti-fbe-sh_exec:s0