Add perfd permissions for surfaceflinger. Change-Id: I24844c687457159b7b1eb0559a7469a043b4c60b
		
			
				
	
	
		
			14 lines
		
	
	
		
			450 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			450 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
allow surfaceflinger sysfs_graphics:file rw_file_perms;
 | 
						|
allow surfaceflinger shell_data_file:dir search;
 | 
						|
 | 
						|
# Allows pp-daemon to refresh the screen in calibration mode
 | 
						|
r_dir_file(surfaceflinger, mm-pp-daemon)
 | 
						|
 | 
						|
binder_call(surfaceflinger, location)
 | 
						|
binder_call(surfaceflinger, tee)
 | 
						|
 | 
						|
# access to perflock
 | 
						|
allow surfaceflinger mpctl_socket:dir r_dir_perms;
 | 
						|
unix_socket_send(surfaceflinger, mpctl, perfd)
 | 
						|
unix_socket_connect(surfaceflinger, mpctl, perfd)
 |