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
a939c432
Commit
a939c432
authored
7 years ago
by
Andrew Scull
Browse files
Options
Downloads
Patches
Plain Diff
Add missing sepolicies for the Weaver HAL.
Bug: 38233550 Test: Build Change-Id: I7c2105d5f215a60a611110640afff25fc3403559
parent
d2b3a454
No related branches found
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_weaver.te
+4
-1
4 additions, 1 deletion
public/hal_weaver.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 @
a939c432
...
@@ -39,6 +39,7 @@ android.hardware.tv.input::ITvInput u:object_r:hal_t
...
@@ -39,6 +39,7 @@ android.hardware.tv.input::ITvInput u:object_r:hal_t
android.hardware.usb::IUsb u:object_r:hal_usb_hwservice:s0
android.hardware.usb::IUsb u:object_r:hal_usb_hwservice:s0
android.hardware.vibrator::IVibrator u:object_r:hal_vibrator_hwservice:s0
android.hardware.vibrator::IVibrator u:object_r:hal_vibrator_hwservice:s0
android.hardware.vr::IVr u:object_r:hal_vr_hwservice:s0
android.hardware.vr::IVr u:object_r:hal_vr_hwservice:s0
android.hardware.weaver::IWeaver u:object_r:hal_weaver_hwservice:s0
android.hardware.wifi::IWifi u:object_r:hal_wifi_hwservice:s0
android.hardware.wifi::IWifi u:object_r:hal_wifi_hwservice:s0
android.hardware.wifi.supplicant::ISupplicant u:object_r:hal_wifi_supplicant_hwservice:s0
android.hardware.wifi.supplicant::ISupplicant u:object_r:hal_wifi_supplicant_hwservice:s0
android.hidl.allocator::IAllocator u:object_r:hidl_allocator_hwservice:s0
android.hidl.allocator::IAllocator u:object_r:hidl_allocator_hwservice:s0
...
...
This diff is collapsed.
Click to expand it.
public/hal_weaver.te
+
4
−
1
View file @
a939c432
# HwBinder IPC from client to server
# HwBinder IPC from client to server
# binder_call(hal_weaver_client, hal_weaver_server)
binder_call(hal_weaver_client, hal_weaver_server)
add_hwservice(hal_weaver_server, hal_weaver_hwservice)
allow hal_weaver_client hal_weaver_hwservice:hwservice_manager find;
This diff is collapsed.
Click to expand it.
public/hwservice.te
+
1
−
0
View file @
a939c432
...
@@ -33,6 +33,7 @@ type hal_tv_input_hwservice, hwservice_manager_type;
...
@@ -33,6 +33,7 @@ type hal_tv_input_hwservice, hwservice_manager_type;
type hal_usb_hwservice, hwservice_manager_type;
type hal_usb_hwservice, hwservice_manager_type;
type hal_vibrator_hwservice, hwservice_manager_type;
type hal_vibrator_hwservice, hwservice_manager_type;
type hal_vr_hwservice, hwservice_manager_type;
type hal_vr_hwservice, hwservice_manager_type;
type hal_weaver_hwservice, hwservice_manager_type;
type hal_wifi_hwservice, hwservice_manager_type;
type hal_wifi_hwservice, hwservice_manager_type;
type hal_wifi_supplicant_hwservice, hwservice_manager_type;
type hal_wifi_supplicant_hwservice, hwservice_manager_type;
type hidl_allocator_hwservice, hwservice_manager_type, coredomain_hwservice;
type hidl_allocator_hwservice, hwservice_manager_type, coredomain_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