Alex Klyubin | 1fc9172 | 2013-04-25 15:20:27 -0700 | [diff] [blame] | 1 | # Grant GPU access to SurfaceFlinger |
| 2 | allow surfaceflinger gpu_device:chr_file rw_file_perms; |
repo sync | 93bbc93 | 2013-05-06 13:40:43 -0700 | [diff] [blame] | 3 | |
| 4 | allow surfaceflinger sysfs:file rw_file_perms; |
Alex Klyubin | 07accf9 | 2013-05-13 13:45:32 -0700 | [diff] [blame] | 5 | |
| 6 | # Read from /data/local/tmp |
| 7 | allow surfaceflinger shell_data_file:dir search; |
| 8 | allow surfaceflinger shell_data_file:file { open getattr read }; |
| 9 | allow surfaceflinger shell_data_file:lnk_file read; |