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
cd267450
Commit
cd267450
authored
7 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add missing sepolicies for the Weaver HAL." into oc-dev
parents
fc1d8d99
a939c432
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_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 @
cd267450
...
@@ -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 @
cd267450
# 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 @
cd267450
...
@@ -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