sepolicy: Add permission for /mnt/vendor/persist/display
Allow hal_graphics_composer to access /mnt/vendor/persist/display Change-Id: I7af786708b2fce5dfdf2930cacc2e47452f6dba3 CRs-Fixed: 2260713
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
# Copyright (c) 2018, The Linux Foundation. All rights reserved.
 | 
			
		||||
# Copyright (c) 2018-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
 | 
			
		||||
@@ -32,6 +32,10 @@ allow hal_graphics_composer_default qdisplay_service:service_manager { add find
 | 
			
		||||
allow hal_graphics_composer_default persist_display_file:dir search;
 | 
			
		||||
allow hal_graphics_composer_default persist_display_file:file r_file_perms;
 | 
			
		||||
 | 
			
		||||
# Allow reading/writing to '/mnt/vendor/persist/display/*'
 | 
			
		||||
allow hal_graphics_composer_default persist_display_file:dir rw_dir_perms;
 | 
			
		||||
allow hal_graphics_composer_default persist_display_file:file create_file_perms;
 | 
			
		||||
 | 
			
		||||
allow hal_graphics_composer sysfs_graphics:dir r_dir_perms;
 | 
			
		||||
allow hal_graphics_composer sysfs_graphics:file rw_file_perms;
 | 
			
		||||
allow hal_graphics_composer_default mnt_vendor_file:dir search;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user