Skip to content
Snippets Groups Projects
Commit f3443ee7 authored by Ningyuan Wang's avatar Ningyuan Wang
Browse files

Remove unused wificond sepolicy privilges

Bug: 33239267
Test: compile, run wifi, no selinux complaint for wificond
Change-Id: I9b3e874381ac6cd7c6ff1058cc4f313bd85481b8
parent ad80182a
No related branches found
No related tags found
No related merge requests found
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;
......@@ -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;
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