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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
42ab1b4f
Commit
42ab1b4f
authored
8 years ago
by
Alex Klyubin
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Remove hal_light from system_server domain"
am:
29f1e21d
Change-Id: I8b8d1fca11d748c09faab382e9d0c8f0ca1fc1af
parents
0b694d17
29f1e21d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/system_server.te
+7
-3
7 additions, 3 deletions
public/system_server.te
with
7 additions
and
3 deletions
public/system_server.te
+
7
−
3
View file @
42ab1b4f
...
@@ -4,9 +4,6 @@
...
@@ -4,9 +4,6 @@
#
#
type system_server, domain, domain_deprecated, mlstrustedsubject;
type system_server, domain, domain_deprecated, mlstrustedsubject;
# Attributes for passthrough hals
typeattribute system_server hal_light;
# For art.
# For art.
allow system_server dalvikcache_data_file:dir r_dir_perms;
allow system_server dalvikcache_data_file:dir r_dir_perms;
allow system_server dalvikcache_data_file:file { r_file_perms execute };
allow system_server dalvikcache_data_file:file { r_file_perms execute };
...
@@ -610,6 +607,13 @@ r_dir_file(system_server, sysfs_type)
...
@@ -610,6 +607,13 @@ r_dir_file(system_server, sysfs_type)
# Allow system_server to make binder calls to hwservicemanager
# Allow system_server to make binder calls to hwservicemanager
binder_call(system_server, hwservicemanager)
binder_call(system_server, hwservicemanager)
### Rules needed when Light HAL runs inside system_server process.
### These rules should eventually be granted only when needed.
allow system_server sysfs_leds:lnk_file read;
allow system_server sysfs_leds:file rw_file_perms;
allow system_server sysfs_leds:dir r_dir_perms;
###
userdebug_or_eng(`
userdebug_or_eng(`
# Allow WifiService to start, stop, and read wifi-specific trace events.
# Allow WifiService to start, stop, and read wifi-specific trace events.
allow system_server debugfs_tracing_instances:dir search;
allow system_server debugfs_tracing_instances:dir search;
...
...
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