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
bcd838eb
Commit
bcd838eb
authored
8 years ago
by
Roshan Pius
Committed by
Android (Google) Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "sepolicy: Add permissions for wpa_supplicant binder"
parents
c45cebda
18883a93
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
service.te
+1
-0
1 addition, 0 deletions
service.te
service_contexts
+1
-0
1 addition, 0 deletions
service_contexts
wificond.te
+1
-0
1 addition, 0 deletions
wificond.te
wpa.te
+3
-0
3 additions, 0 deletions
wpa.te
with
6 additions
and
0 deletions
service.te
+
1
−
0
View file @
bcd838eb
...
@@ -120,3 +120,4 @@ type wifiscanner_service, system_api_service, system_server_service, service_man
...
@@ -120,3 +120,4 @@ type wifiscanner_service, system_api_service, system_server_service, service_man
type wifi_service, app_api_service, system_server_service, service_manager_type;
type wifi_service, app_api_service, system_server_service, service_manager_type;
type wificond_service, system_server_service, service_manager_type;
type wificond_service, system_server_service, service_manager_type;
type window_service, system_api_service, system_server_service, service_manager_type;
type window_service, system_api_service, system_server_service, service_manager_type;
type wpa_supplicant_service, system_server_service, service_manager_type;
This diff is collapsed.
Click to expand it.
service_contexts
+
1
−
0
View file @
bcd838eb
...
@@ -145,4 +145,5 @@ wifiscanner u:object_r:wifiscanner_service:s0
...
@@ -145,4 +145,5 @@ wifiscanner u:object_r:wifiscanner_service:s0
wifi u:object_r:wifi_service:s0
wifi u:object_r:wifi_service:s0
wificond u:object_r:wificond_service:s0
wificond u:object_r:wificond_service:s0
window u:object_r:window_service:s0
window u:object_r:window_service:s0
wpa u:object_r:wpa_supplicant_service:s0
* u:object_r:default_android_service:s0
* u:object_r:default_android_service:s0
This diff is collapsed.
Click to expand it.
wificond.te
+
1
−
0
View file @
bcd838eb
...
@@ -6,5 +6,6 @@ init_daemon_domain(wificond)
...
@@ -6,5 +6,6 @@ init_daemon_domain(wificond)
binder_use(wificond)
binder_use(wificond)
binder_call(wificond, system_server)
binder_call(wificond, system_server)
binder_call(wificond, wpa)
allow wificond wificond_service:service_manager { add find };
allow wificond wificond_service:service_manager { add find };
This diff is collapsed.
Click to expand it.
wpa.te
+
3
−
0
View file @
bcd838eb
...
@@ -23,7 +23,10 @@ allow wpa wifi_data_file:dir create_dir_perms;
...
@@ -23,7 +23,10 @@ allow wpa wifi_data_file:dir create_dir_perms;
allow wpa wifi_data_file:file create_file_perms;
allow wpa wifi_data_file:file create_file_perms;
unix_socket_send(wpa, system_wpa, system_server)
unix_socket_send(wpa, system_wpa, system_server)
# Binder interface exposed by WPA.
binder_use(wpa)
binder_use(wpa)
binder_call(wpa, wificond)
allow wpa wpa_supplicant_service:service_manager { add find };
# Create a socket for receiving info from wpa
# Create a socket for receiving info from wpa
type_transition wpa wifi_data_file:dir wpa_socket "sockets";
type_transition wpa wifi_data_file:dir wpa_socket "sockets";
...
...
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