mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-07 08:48:06 -04:00
universal7570: import sepolicy from 7870
The sepolicy before seems to be broken Change-Id: I890a28429f03e47a183a0a0b755987f3495994c3
This commit is contained in:
parent
f22a0e7cdd
commit
f0e4521a9f
53 changed files with 1095 additions and 58 deletions
22
sepolicy/wifiloader.te
Normal file
22
sepolicy/wifiloader.te
Normal file
|
@ -0,0 +1,22 @@
|
|||
#### wifiloader
|
||||
#
|
||||
type wifiloader, domain;
|
||||
type wifiloader_exec, exec_type, file_type, vendor_file_type;
|
||||
|
||||
init_daemon_domain(wifiloader)
|
||||
unix_socket_connect(wifiloader, property, init)
|
||||
|
||||
allow wifiloader proc:file r_file_perms;
|
||||
allow wifiloader sysfs_wlan_fwpath:file setattr;
|
||||
# allow wifiloader wifi_data_file:file rw_file_perms;
|
||||
set_prop(wifiloader, wifi_prop);
|
||||
|
||||
# /efs
|
||||
allow wifiloader efs_file:dir search;
|
||||
|
||||
# /efs/wifi
|
||||
allow wifiloader wifi_efs_file:dir search;
|
||||
allow wifiloader wifi_efs_file:file r_file_perms;
|
||||
|
||||
# load .ko modules
|
||||
allow wifiloader self:capability { chown sys_module };
|
Loading…
Add table
Add a link
Reference in a new issue