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
e6b44e8a
Commit
e6b44e8a
authored
Oct 3, 2013
by
William Roberts
Committed by
Android Git Automerger
Oct 3, 2013
Browse files
Options
Downloads
Plain Diff
am
6d9ed201
: am
ec7d39ba
: Introduce controls on wake lock interface
* commit '
6d9ed201
': Introduce controls on wake lock interface
parents
173a1492
6d9ed201
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
file.te
+1
-0
1 addition, 0 deletions
file.te
file_contexts
+2
-0
2 additions, 0 deletions
file_contexts
rild.te
+3
-0
3 additions, 0 deletions
rild.te
system_server.te
+3
-0
3 additions, 0 deletions
system_server.te
with
9 additions
and
0 deletions
file.te
+
1
−
0
View file @
e6b44e8a
...
@@ -12,6 +12,7 @@ type sysfs, fs_type, mlstrustedobject;
...
@@ -12,6 +12,7 @@ type sysfs, fs_type, mlstrustedobject;
type sysfs_writable, fs_type, sysfs_type, mlstrustedobject;
type sysfs_writable, fs_type, sysfs_type, mlstrustedobject;
type sysfs_bluetooth_writable, fs_type, sysfs_type, mlstrustedobject;
type sysfs_bluetooth_writable, fs_type, sysfs_type, mlstrustedobject;
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 inotify, fs_type, mlstrustedobject;
type inotify, fs_type, mlstrustedobject;
type devpts, fs_type, mlstrustedobject;
type devpts, fs_type, mlstrustedobject;
type tmpfs, fs_type;
type tmpfs, fs_type;
...
...
This diff is collapsed.
Click to expand it.
file_contexts
+
2
−
0
View file @
e6b44e8a
...
@@ -204,6 +204,8 @@
...
@@ -204,6 +204,8 @@
/sys/devices/platform/nfc-power/nfc_power -- u:object_r:sysfs_nfc_power_writable:s0
/sys/devices/platform/nfc-power/nfc_power -- u:object_r:sysfs_nfc_power_writable:s0
/sys/class/rfkill/rfkill[0-9]*/state -- u:object_r:sysfs_bluetooth_writable:s0
/sys/class/rfkill/rfkill[0-9]*/state -- u:object_r:sysfs_bluetooth_writable:s0
/sys/class/rfkill/rfkill[0-9]*/type -- u:object_r:sysfs_bluetooth_writable:s0
/sys/class/rfkill/rfkill[0-9]*/type -- u:object_r:sysfs_bluetooth_writable:s0
/sys/power/wake_lock -- u:object_r:sysfs_wake_lock:s0
/sys/power/wake_unlock -- u:object_r:sysfs_wake_lock:s0
#############################
#############################
# asec containers
# asec containers
/mnt/asec(/.*)? u:object_r:asec_apk_file:s0
/mnt/asec(/.*)? u:object_r:asec_apk_file:s0
...
...
This diff is collapsed.
Click to expand it.
rild.te
+
3
−
0
View file @
e6b44e8a
...
@@ -6,3 +6,6 @@ type rild_exec, exec_type, file_type;
...
@@ -6,3 +6,6 @@ type rild_exec, exec_type, file_type;
init_daemon_domain(rild)
init_daemon_domain(rild)
net_domain(rild)
net_domain(rild)
unconfined_domain(rild)
unconfined_domain(rild)
# Access to wake locks
allow rild sysfs_wake_lock:file rw_file_perms;
This diff is collapsed.
Click to expand it.
system_server.te
+
3
−
0
View file @
e6b44e8a
...
@@ -45,3 +45,6 @@ allow system_server apk_tmp_file:file relabelto;
...
@@ -45,3 +45,6 @@ allow system_server apk_tmp_file:file relabelto;
allow system_server cache_backup_file:file relabelto;
allow system_server cache_backup_file:file relabelto;
allow system_server apk_private_tmp_file:file relabelto;
allow system_server apk_private_tmp_file:file relabelto;
allow system_server wallpaper_file:file relabelto;
allow system_server wallpaper_file:file relabelto;
# Access to wake locks
allow system_server sysfs_wake_lock:file rw_file_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