Remove vendor sepolicy for input files.

Bug: 112880217
Test: aosp_walleye boots without denials to input files
Change-Id: Ida8c3ef10b21d40937de710000a394a9d435bf13
This commit is contained in:
Tri Vo
2018-10-12 18:05:37 -07:00
parent 44e354d3a1
commit e4ee1e6655
3 changed files with 0 additions and 12 deletions

View File

@@ -84,10 +84,6 @@ type sysfs_diag, fs_type, sysfs_type;
type hexagon_halide_file, vendor_file_type, file_type;
# input files
type idc_file, file_type, vendor_file_type;
type keylayout_file, file_type, vendor_file_type;
# Battery Stats file
typeattribute sysfs_batteryinfo mlstrustedobject;

View File

@@ -254,10 +254,6 @@
/data/vendor/audio(/.*)? u:object_r:audio_vendor_data_file:s0
/data/vendor/mediadrm(/.*)? u:object_r:mediadrm_vendor_data_file:s0
# input files
/vendor/usr/idc(/.*)? u:object_r:idc_file:s0
/vendor/usr/keylayout(/.*)? u:object_r:keylayout_file:s0
# /
/tombstones u:object_r:rootfs:s0
/dsp u:object_r:rootfs:s0

View File

@@ -12,10 +12,6 @@ allow system_server wlan_device:chr_file rw_file_perms;
# once cpufreq functionality is hidden behind a HAL.
allow system_server sysfs_devices_system_cpu:file w_file_perms;
# input files
r_dir_file(system_server, idc_file)
r_dir_file(system_server, keylayout_file)
# TODO(b/30675296): Remove following dontaudit's upon resolution of this bug
# The timerslack_ns denials spam the system really horribly
dontaudit system_server audioserver:file write;