Skip to content
Snippets Groups Projects
Commit 3c0561b1 authored by Ningyuan Wang's avatar Ningyuan Wang Committed by android-build-merger
Browse files

Merge "Remove unused wificond sepolicy privilges" into oc-dev

am: a299bc80

Change-Id: I94b99a1ace48fafeb47280d1d6764cac70fb9464
parents f9b6368a a299bc80
No related branches found
No related tags found
No related merge requests found
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;
...@@ -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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment