selinux: remove sysfs_mac_address am: f1e71dc75c
am: b5a4640f65
am: 65864dc2ea
Change-Id: I5961cb68aa07dfb67a010b8f521ba4d6f9218196
This commit is contained in:
commit
f089363182
4 changed files with 1 additions and 6 deletions
|
@ -86,7 +86,6 @@ neverallow all_untrusted_apps mlstrustedsubject:process fork;
|
|||
neverallow all_untrusted_apps file_type:file link;
|
||||
|
||||
# Do not allow untrusted apps to access network MAC address file
|
||||
neverallow all_untrusted_apps sysfs_mac_address:file no_rw_file_perms;
|
||||
neverallow all_untrusted_apps sysfs_net:file no_rw_file_perms;
|
||||
|
||||
# Do not allow any write access to files in /sys
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
(type hal_wifi_offload_hwservice)
|
||||
(type perfprofd_data_file)
|
||||
(type perfprofd_service)
|
||||
(type sysfs_mac_address)
|
||||
|
||||
(expandtypeattribute (accessibility_service_29_0) true)
|
||||
(expandtypeattribute (account_service_29_0) true)
|
||||
|
|
|
@ -319,7 +319,6 @@ r_dir_file(system_server, sysfs_switch)
|
|||
r_dir_file(system_server, sysfs_wakeup_reasons)
|
||||
|
||||
allow system_server sysfs_nfc_power_writable:file rw_file_perms;
|
||||
allow system_server sysfs_mac_address:file r_file_perms;
|
||||
allow system_server sysfs_power:dir search;
|
||||
allow system_server sysfs_power:file rw_file_perms;
|
||||
allow system_server sysfs_thermal:dir search;
|
||||
|
@ -777,9 +776,6 @@ allow system_server mnt_expand_file:dir r_dir_perms;
|
|||
allow system_server fingerprintd_data_file:dir { r_dir_perms remove_name rmdir relabelto write };
|
||||
allow system_server fingerprintd_data_file:file { getattr unlink };
|
||||
|
||||
# Allow system process to read network MAC address
|
||||
allow system_server sysfs_mac_address:file r_file_perms;
|
||||
|
||||
userdebug_or_eng(`
|
||||
# Allow system server to create and write method traces in /data/misc/trace.
|
||||
allow system_server method_trace_data_file:dir w_dir_perms;
|
||||
|
|
|
@ -90,7 +90,6 @@ type sysfs_loop, fs_type, sysfs_type;
|
|||
type sysfs_hwrandom, fs_type, sysfs_type;
|
||||
type sysfs_nfc_power_writable, fs_type, sysfs_type, mlstrustedobject;
|
||||
type sysfs_wake_lock, fs_type, sysfs_type;
|
||||
type sysfs_mac_address, fs_type, sysfs_type;
|
||||
type sysfs_net, fs_type, sysfs_type;
|
||||
type sysfs_power, fs_type, sysfs_type;
|
||||
type sysfs_rtc, fs_type, sysfs_type;
|
||||
|
|
Loading…
Reference in a new issue