Skip to content
Snippets Groups Projects
Commit ce6ac697 authored by dcashman's avatar dcashman Committed by android-build-merger
Browse files

Merge \"Allow access to sysfs usb nodes.\" into nyc-dev

am: 43151dd4

Change-Id: I9116f2820891a266ddf163ac28b6f45721d044ad
parents b590d49b 43151dd4
No related branches found
No related tags found
No related merge requests found
...@@ -110,6 +110,8 @@ r_dir_file(domain, zoneinfo_data_file) ...@@ -110,6 +110,8 @@ r_dir_file(domain, zoneinfo_data_file)
# Lots of processes access current CPU information # Lots of processes access current CPU information
r_dir_file(domain, sysfs_devices_system_cpu) r_dir_file(domain, sysfs_devices_system_cpu)
r_dir_file(domain, sysfs_usb);
# files under /data. # files under /data.
allow domain system_data_file:dir { search getattr }; allow domain system_data_file:dir { search getattr };
allow domain system_data_file:lnk_file read; allow domain system_data_file:lnk_file read;
......
...@@ -30,6 +30,7 @@ type sysfs_hwrandom, fs_type, sysfs_type; ...@@ -30,6 +30,7 @@ type sysfs_hwrandom, fs_type, sysfs_type;
type sysfs_nfc_power_writable, fs_type, sysfs_type, mlstrustedobject; type sysfs_nfc_power_writable, fs_type, sysfs_type, mlstrustedobject;
type sysfs_wake_lock, fs_type, sysfs_type; type sysfs_wake_lock, fs_type, sysfs_type;
type sysfs_mac_address, fs_type, sysfs_type; type sysfs_mac_address, fs_type, sysfs_type;
type sysfs_usb, sysfs_type, file_type, mlstrustedobject;
type configfs, fs_type; type configfs, fs_type;
# /sys/devices/system/cpu # /sys/devices/system/cpu
type sysfs_devices_system_cpu, fs_type, sysfs_type; type sysfs_devices_system_cpu, fs_type, sysfs_type;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment