Allow system_server read and open access to sys/class/net.
system_server needs search/read/open access to the directory. This change gives system_server permissions to fetching the information from sys/class/net. Bug: 202086915 Test: build, flash, boot Change-Id: I7b245510efbc99427f3491c9234c45c8cc18fea1
This commit is contained in:
parent
e9b0ec455d
commit
27abad0dc8
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ allow system_server mac_perms_file: file r_file_perms;
|
||||||
# Check SELinux permissions.
|
# Check SELinux permissions.
|
||||||
selinux_check_access(system_server)
|
selinux_check_access(system_server)
|
||||||
|
|
||||||
allow system_server sysfs_type:dir search;
|
allow system_server sysfs_type:dir r_dir_perms;
|
||||||
|
|
||||||
r_dir_file(system_server, sysfs_android_usb)
|
r_dir_file(system_server, sysfs_android_usb)
|
||||||
allow system_server sysfs_android_usb:file w_file_perms;
|
allow system_server sysfs_android_usb:file w_file_perms;
|
||||||
|
|
Loading…
Reference in a new issue