Skip to content
Snippets Groups Projects
Commit 54a2cac5 authored by Tri Vo's avatar Tri Vo
Browse files

Remove surfaceflinger access to sysfs.

Bug: 65643247
Test: SurfaceFlinger_test passes (except known failures) without selinux
denials
Change-Id: I6ce185f92e5ad64a172da7d7e12167d8da2ebed0
parent 2f6e66ff
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,6 @@ allow surfaceflinger window_service:service_manager find; ...@@ -84,7 +84,6 @@ allow surfaceflinger window_service:service_manager find;
allow surfaceflinger self:capability sys_nice; allow surfaceflinger self:capability sys_nice;
allow surfaceflinger proc_meminfo:file r_file_perms; allow surfaceflinger proc_meminfo:file r_file_perms;
r_dir_file(surfaceflinger, cgroup) r_dir_file(surfaceflinger, cgroup)
r_dir_file(surfaceflinger, sysfs_type)
r_dir_file(surfaceflinger, system_file) r_dir_file(surfaceflinger, system_file)
allow surfaceflinger tmpfs:dir r_dir_perms; allow surfaceflinger tmpfs:dir r_dir_perms;
allow surfaceflinger system_server:fd use; allow surfaceflinger system_server:fd use;
......
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