Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
b271017c
Commit
b271017c
authored
9 years ago
by
dcashman
Committed by
android-build-merger
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge \"Allow access to sysfs usb nodes.\" into nyc-dev
am:
43151dd4
Change-Id: Ifc7481d101a62ae204e00d16cc01713bcd3c3987
parents
c21551db
43151dd4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
domain.te
+2
-0
2 additions, 0 deletions
domain.te
file.te
+1
-0
1 addition, 0 deletions
file.te
with
3 additions
and
0 deletions
domain.te
+
2
−
0
View file @
b271017c
...
@@ -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;
...
...
This diff is collapsed.
Click to expand it.
file.te
+
1
−
0
View file @
b271017c
...
@@ -29,6 +29,7 @@ type sysfs_hwrandom, fs_type, sysfs_type;
...
@@ -29,6 +29,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;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment