Skip to content
Snippets Groups Projects
Commit 8d07a8d5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "system_server: search permission to all of sysfs."

parents 0b6856f5 ce8bc8b0
No related branches found
No related tags found
No related merge requests found
...@@ -267,6 +267,8 @@ allow system_server mac_perms_file: file r_file_perms; ...@@ -267,6 +267,8 @@ 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;
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;
......
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