Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
475954da
Commit
475954da
authored
7 years ago
by
Andrew Scull
Browse files
Options
Downloads
Patches
Plain Diff
Add missing sepolicies for OemLock HAL.
Bug: 38232801 Test: Build Change-Id: Iccc16430e7502bb317f95bb2a5e2f021d8239a00
parent
d2b3a454
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/hwservice_contexts
+1
-0
1 addition, 0 deletions
private/hwservice_contexts
public/hal_oemlock.te
+4
-1
4 additions, 1 deletion
public/hal_oemlock.te
public/hwservice.te
+1
-0
1 addition, 0 deletions
public/hwservice.te
with
6 additions
and
1 deletion
private/hwservice_contexts
+
1
−
0
View file @
475954da
...
...
@@ -26,6 +26,7 @@ android.hardware.media.omx::IOmx u:object_r:hal_o
android.hardware.media.omx::IOmxStore u:object_r:hal_omx_hwservice:s0
android.hardware.memtrack::IMemtrack u:object_r:hal_memtrack_hwservice:s0
android.hardware.nfc::INfc u:object_r:hal_nfc_hwservice:s0
android.hardware.oemlock::IOemLock u:object_r:hal_oemlock_hwservice:s0
android.hardware.power::IPower u:object_r:hal_power_hwservice:s0
android.hardware.radio.deprecated::IOemHook u:object_r:hal_telephony_hwservice:s0
android.hardware.radio::IRadio u:object_r:hal_telephony_hwservice:s0
...
...
This diff is collapsed.
Click to expand it.
public/hal_oemlock.te
+
4
−
1
View file @
475954da
# HwBinder IPC from client to server
# binder_call(hal_oemlock_client, hal_oemlock_server)
binder_call(hal_oemlock_client, hal_oemlock_server)
add_hwservice(hal_oemlock_server, hal_oemlock_hwservice)
allow hal_oemlock_client hal_oemlock_hwservice:hwservice_manager find;
This diff is collapsed.
Click to expand it.
public/hwservice.te
+
1
−
0
View file @
475954da
...
...
@@ -22,6 +22,7 @@ type hal_keymaster_hwservice, hwservice_manager_type;
type hal_light_hwservice, hwservice_manager_type;
type hal_memtrack_hwservice, hwservice_manager_type;
type hal_nfc_hwservice, hwservice_manager_type;
type hal_oemlock_hwservice, hwservice_manager_type;
type hal_omx_hwservice, hwservice_manager_type;
type hal_power_hwservice, hwservice_manager_type;
type hal_renderscript_hwservice, hwservice_manager_type, same_process_hwservice;
...
...
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