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
6fb8c9c6
Commit
6fb8c9c6
authored
7 years ago
by
Ningyuan Wang
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Remove unused wificond sepolicy privilges" into oc-dev am:
a299bc80
am:
3c0561b1
Change-Id: I05d63291a5e7af356e158483255ce1c5b73a1539
parents
14f2127c
3c0561b1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide 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 @
6fb8c9c6
typeattribute wificond coredomain;
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 @
6fb8c9c6
...
...
@@ -7,10 +7,6 @@ binder_call(wificond, system_server)
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, ctl_default_prop)
...
...
@@ -35,11 +31,6 @@ allow wificond wifi_data_file:file create_file_perms;
# wificond changes the ownership of some files before dropping root
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
allow wificond dumpstate:fd use;
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
register
or
sign in
to comment