blob: b28335fd3b7945aa5576b35fa79d6326ba8307c2 [file] [log] [blame]
Nick Kralevich04740e02013-12-13 20:11:17 -08001allow surfaceflinger { knv_device }:chr_file rw_file_perms;
rpcraig4afe6a02013-11-21 19:02:10 -05002allow surfaceflinger { sysfs_devices_system_cpu sysfs_devices_tegradc }:file rw_file_perms;
3allow surfaceflinger sysfs_devices_tegradc:dir r_dir_perms;
4allow surfaceflinger sysfs_devices_tegradc:lnk_file { open getattr read };
Robert Craig5dbd0b22013-03-27 06:12:51 -04005allow surfaceflinger sysfs_devices_system_cpu:dir w_dir_perms;
Stephen Smalley7b977402014-01-13 09:01:43 -05006
7# Kernel bug for Linux < 3.3: sysfs inodes can lose their security context
8# and revert to the base sysfs type.
9allow surfaceflinger sysfs:file write;