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
47506854
Commit
47506854
authored
9 years ago
by
dcashman
Committed by
android-build-merger
9 years ago
Browse files
Options
Downloads
Plain Diff
Move sysfs_thermal to global policy and grant access.
am:
98eff7c3
* commit '
98eff7c3
': Move sysfs_thermal to global policy and grant access.
parents
8028a738
98eff7c3
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
file.te
+3
-0
3 additions, 0 deletions
file.te
system_server.te
+2
-0
2 additions, 0 deletions
system_server.te
with
5 additions
and
0 deletions
file.te
+
3
−
0
View file @
47506854
...
@@ -34,6 +34,9 @@ type configfs, fs_type;
...
@@ -34,6 +34,9 @@ type configfs, fs_type;
type sysfs_devices_system_cpu, fs_type, sysfs_type;
type sysfs_devices_system_cpu, fs_type, sysfs_type;
# /sys/module/lowmemorykiller
# /sys/module/lowmemorykiller
type sysfs_lowmemorykiller, fs_type, sysfs_type;
type sysfs_lowmemorykiller, fs_type, sysfs_type;
type sysfs_thermal, sysfs_type, fs_type;
type sysfs_zram, fs_type, sysfs_type;
type sysfs_zram, fs_type, sysfs_type;
type sysfs_zram_uevent, fs_type, sysfs_type;
type sysfs_zram_uevent, fs_type, sysfs_type;
type inotify, fs_type, mlstrustedobject;
type inotify, fs_type, mlstrustedobject;
...
...
This diff is collapsed.
Click to expand it.
system_server.te
+
2
−
0
View file @
47506854
...
@@ -170,6 +170,8 @@ allow system_server sysfs:file rw_file_perms;
...
@@ -170,6 +170,8 @@ allow system_server sysfs:file rw_file_perms;
allow system_server sysfs_nfc_power_writable:file rw_file_perms;
allow system_server sysfs_nfc_power_writable:file rw_file_perms;
allow system_server sysfs_devices_system_cpu:file w_file_perms;
allow system_server sysfs_devices_system_cpu:file w_file_perms;
allow system_server sysfs_mac_address:file r_file_perms;
allow system_server sysfs_mac_address:file r_file_perms;
allow system_server sysfs_thermal:dir search;
allow system_server sysfs_thermal:file r_file_perms;
# Access devices.
# Access devices.
allow system_server device:dir r_dir_perms;
allow system_server device:dir r_dir_perms;
...
...
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