Merge "sepolicy: permit graphics hwcomposer to read kgsl sysfs nodes"
This commit is contained in:
		
				
					committed by
					
						
						Gerrit - the friendly Code Review server
					
				
			
			
				
	
			
			
			
					commit
					a7ff30b3c2
				
			@@ -1,4 +1,4 @@
 | 
			
		||||
# Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 | 
			
		||||
# Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 | 
			
		||||
 | 
			
		||||
# Redistribution and use in source and binary forms, with or without
 | 
			
		||||
# modification, are permitted provided that the following conditions are
 | 
			
		||||
@@ -51,6 +51,10 @@ vndbinder_use(hal_graphics_composer_default);
 | 
			
		||||
allow hal_graphics_composer video_device:chr_file rw_file_perms;
 | 
			
		||||
allow hal_graphics_composer video_device:dir r_dir_perms;
 | 
			
		||||
 | 
			
		||||
#Allow graphics sysfs access
 | 
			
		||||
allow hal_graphics_composer sysfs_kgsl:{file lnk_file} r_file_perms;
 | 
			
		||||
allow hal_graphics_composer sysfs_kgsl:dir r_dir_perms;
 | 
			
		||||
 | 
			
		||||
# Allow reading/writing to '/data/vendor/display/*'
 | 
			
		||||
allow hal_graphics_composer_default display_vendor_data_file:dir create_dir_perms;
 | 
			
		||||
allow hal_graphics_composer_default display_vendor_data_file:file create_file_perms;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user