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
b7bcaecd
Commit
b7bcaecd
authored
8 years ago
by
Connor O'Brien
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
sepolicy for boot_control HAL service am:
2370fc77
am:
6771f288
Change-Id: I8c207ed0e77c4a2de6572902d1625e23e0253363
parents
e0b7c140
6771f288
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
private/file_contexts
+1
-0
1 addition, 0 deletions
private/file_contexts
private/hal_boot.te
+2
-0
2 additions, 0 deletions
private/hal_boot.te
public/hal_boot.te
+9
-0
9 additions, 0 deletions
public/hal_boot.te
public/system_server.te
+1
-0
1 addition, 0 deletions
public/system_server.te
with
13 additions
and
0 deletions
private/file_contexts
+
1
−
0
View file @
b7bcaecd
...
...
@@ -222,6 +222,7 @@
/system/bin/hw/wifi_hal_legacy u:object_r:wifi_hal_legacy_exec:s0
/system/fake-lib(64)?/libart.* u:object_r:libart_file:s0
/system/lib(64)?/libart.* u:object_r:libart_file:s0
/system/bin/hw/android.hardware.boot@1.0-service u:object_r:hal_boot_exec:s0
/system/bin/hw/android.hardware.nfc@1.0-service u:object_r:android_hardware_nfc_1_0_service_exec:s0
/system/bin/hw/android.hardware.vibrator@1.0-service u:object_r:android_hardware_vibrator_service_exec:s0
/system/bin/hw/android.hardware.vr@1.0-service u:object_r:android_hardware_vr_exec:s0
...
...
This diff is collapsed.
Click to expand it.
private/hal_boot.te
0 → 100644
+
2
−
0
View file @
b7bcaecd
# may be started by init
init_daemon_domain(hal_boot)
This diff is collapsed.
Click to expand it.
public/hal_boot.te
0 → 100644
+
9
−
0
View file @
b7bcaecd
# boot_control subsystem
type hal_boot, domain;
type hal_boot_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_boot)
# call into system_server process (callbacks)
binder_call(hal_boot, system_server)
This diff is collapsed.
Click to expand it.
public/system_server.te
+
1
−
0
View file @
b7bcaecd
...
...
@@ -147,6 +147,7 @@ allow system_server surfaceflinger:unix_stream_socket { read write setopt };
# Perform Binder IPC.
binder_use(system_server)
binder_call(system_server, hal_boot)
binder_call(system_server, android_hardware_vibrator_service)
binder_call(system_server, android_hardware_vr)
binder_call(system_server, binderservicedomain)
...
...
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