[ALPS04056547] partition: remove unused policy

Remove policy for sysenv_daemon, which is removed in Android P

MTK-Commit-Id: adbf02af5663fc468c7b892a33b4a03ec53a948f

Change-Id: I1653bef4c9b0f9a2b7022f8895b89de0c3373148
CR-Id: ALPS04056547
Feature: [Module]Partition
This commit is contained in:
Chang-An Chen 2020-01-18 10:06:08 +08:00
parent 5db24820f7
commit 26f6c80d00
2 changed files with 1 additions and 50 deletions

View File

@ -562,7 +562,6 @@
/(system\/vendor|vendor)/bin/mnld u:object_r:mnld_exec:s0 /(system\/vendor|vendor)/bin/mnld u:object_r:mnld_exec:s0
/system/bin/connsyslogger u:object_r:connsyslogger_exec:s0 /system/bin/connsyslogger u:object_r:connsyslogger_exec:s0
/(system\/vendor|vendor)/bin/sysenv_daemon u:object_r:sysenv_daemon_exec:s0
/(system\/vendor|vendor)/bin/biosensord_nvram u:object_r:biosensord_nvram_exec:s0 /(system\/vendor|vendor)/bin/biosensord_nvram u:object_r:biosensord_nvram_exec:s0
/(system\/vendor|vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service-mediatek u:object_r:mtk_hal_bluetooth_exec:s0 /(system\/vendor|vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service-mediatek u:object_r:mtk_hal_bluetooth_exec:s0
/(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.gnss@1\.1-service u:object_r:mtk_hal_gnss_exec:s0 /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.gnss@1\.1-service u:object_r:mtk_hal_gnss_exec:s0

View File

@ -1,48 +0,0 @@
# ==============================================
# Policy File of /vendor/bin/sysenv_daemon Executable File
# ==============================================
# Type Declaration
# ==============================================
type sysenv_daemon_exec , exec_type, file_type, vendor_file_type;
type sysenv_daemon ,domain;
# ==============================================
# Android Policy Rule
# ==============================================
# ==============================================
# NSA Policy Rule
# ==============================================
# ==============================================
# MTK Policy Rule
# ==============================================
init_daemon_domain(sysenv_daemon)
# Date : WK16.24
# Operation : Create
# Purpose : move sysenv to userspace.
allow sysenv_daemon block_device:dir search;
allow sysenv_daemon para_block_device:blk_file rw_file_perms;
allow sysenv_daemon proc_lk_env:file rw_file_perms;
allow sysenv_daemon self:netlink_socket { read bind create };
# Date : WK17.29
# Operation : Migration
# Purpose : for device bring up, not to block early SQC
allow sysenv_daemon sysfs:file { open read };
# Date : WK17.43
# Operation : Migration
# Purpose : to access mtd device
allow sysenv_daemon mtd_device:blk_file { open read write };
# Date: WK18.02
# Operation: Create
# Purpose : get device path by read fstab in read/write lk_env
allow sysenv_daemon sysfs:dir { read open };
allow sysenv_daemon sysfs:file getattr;