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
3c0561b1
Commit
3c0561b1
authored
Apr 2, 2017
by
Ningyuan Wang
Committed by
android-build-merger
Apr 2, 2017
Browse files
Options
Downloads
Plain Diff
Merge "Remove unused wificond sepolicy privilges" into oc-dev
am:
a299bc80
Change-Id: I94b99a1ace48fafeb47280d1d6764cac70fb9464
parents
f9b6368a
a299bc80
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
private/wificond.te
+0
-3
0 additions, 3 deletions
private/wificond.te
public/wificond.te
+0
-9
0 additions, 9 deletions
public/wificond.te
with
0 additions
and
12 deletions
private/wificond.te
+
0
−
3
View file @
3c0561b1
typeattribute wificond coredomain;
typeattribute wificond coredomain;
init_daemon_domain(wificond)
init_daemon_domain(wificond)
# TODO(b/36790991): Remove this once wificond is no longer permitted to touch wpa sockets
typeattribute wificond socket_between_core_and_vendor_violators;
This diff is collapsed.
Click to expand it.
public/wificond.te
+
0
−
9
View file @
3c0561b1
...
@@ -7,10 +7,6 @@ binder_call(wificond, system_server)
...
@@ -7,10 +7,6 @@ binder_call(wificond, system_server)
add_service(wificond, wificond_service)
add_service(wificond, wificond_service)
# wificond writes firmware paths to this file.
# wificond also changes the owership of this file on startup.
allow wificond sysfs_wlan_fwpath:file { w_file_perms setattr };
set_prop(wificond, wifi_prop)
set_prop(wificond, wifi_prop)
set_prop(wificond, ctl_default_prop)
set_prop(wificond, ctl_default_prop)
...
@@ -35,11 +31,6 @@ allow wificond wifi_data_file:file create_file_perms;
...
@@ -35,11 +31,6 @@ allow wificond wifi_data_file:file create_file_perms;
# wificond changes the ownership of some files before dropping root
# wificond changes the ownership of some files before dropping root
allow wificond self:capability { setuid setgid setpcap chown };
allow wificond self:capability { setuid setgid setpcap chown };
# wificond cleans up sockets created by wpa_supplicant and framework
allow wificond wpa_socket:dir rw_dir_perms;
allow wificond system_wpa_socket:sock_file unlink;
allow wificond wpa_socket:sock_file unlink;
# dumpstate support
# dumpstate support
allow wificond dumpstate:fd use;
allow wificond dumpstate:fd use;
allow wificond dumpstate:fifo_file write;
allow wificond dumpstate:fifo_file write;
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
sign in
to comment