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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
35ac63ba
Commit
35ac63ba
authored
8 years ago
by
Roshan Pius
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
wpa: Add permissions for hwbinder
am:
6caeac7b
Change-Id: I45bf2358586a6bb1dc5b17646c360c9065b17c23
parents
6f2f72c2
6caeac7b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/wificond.te
+1
-1
1 addition, 1 deletion
public/wificond.te
public/wpa.te
+2
-3
2 additions, 3 deletions
public/wpa.te
with
3 additions
and
4 deletions
public/wificond.te
+
1
−
1
View file @
35ac63ba
...
...
@@ -4,10 +4,10 @@ type wificond_exec, exec_type, file_type;
binder_use(wificond)
binder_call(wificond, system_server)
binder_call(wificond, wpa)
hwbinder_use(wificond)
binder_call(wificond, wifi_hal_legacy)
binder_call(wificond, wpa)
allow wificond wificond_service:service_manager { add find };
...
...
This diff is collapsed.
Click to expand it.
public/wpa.te
+
2
−
3
View file @
35ac63ba
...
...
@@ -21,10 +21,9 @@ allow wpa wifi_data_file:dir create_dir_perms;
allow wpa wifi_data_file:file create_file_perms;
unix_socket_send(wpa, system_wpa, system_server)
#
Binder
interface exposed by WPA.
binder_use(wpa)
#
HIDL
interface exposed by WPA.
hw
binder_use(wpa)
binder_call(wpa, wificond)
allow wpa wpa_supplicant_service:service_manager { add find };
# Create a socket for receiving info from wpa
allow wpa wpa_socket:dir create_dir_perms;
...
...
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