Skip to content
Snippets Groups Projects
Commit 6fb8c9c6 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

am: 3c0561b1

Change-Id: I05d63291a5e7af356e158483255ce1c5b73a1539
parents 14f2127c 3c0561b1
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