Merge "Camera: Add permission for Post Proc service" into sepolicy.lnx.6.0
This commit is contained in:
		
				
					committed by
					
						
						Gerrit - the friendly Code Review server
					
				
			
			
				
	
			
			
			
					commit
					90ce94f5b4
				
			
							
								
								
									
										3
									
								
								generic/vendor/common/hal_camera.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								generic/vendor/common/hal_camera.te
									
									
									
									
										vendored
									
									
								
							@@ -65,3 +65,6 @@ get_prop(hal_camera, vendor_adsprpc_prop)
 | 
			
		||||
 | 
			
		||||
# This is needed to access GPU
 | 
			
		||||
allow hal_camera_default gpu_device:chr_file rw_file_perms;
 | 
			
		||||
 | 
			
		||||
# Postproc Service
 | 
			
		||||
hal_attribute_hwservice(hal_camera, hal_camera_postproc_hwservice);
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3
									
								
								generic/vendor/common/hwservice.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								generic/vendor/common/hwservice.te
									
									
									
									
										vendored
									
									
								
							@@ -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
 | 
			
		||||
@@ -42,3 +42,4 @@ type hal_qdutils_disp_hwservice, hwservice_manager_type;
 | 
			
		||||
type hal_display_color_hwservice, hwservice_manager_type;
 | 
			
		||||
type hal_display_postproc_hwservice, hwservice_manager_type;
 | 
			
		||||
type hal_capabilityconfigstore_qti_hwservice, hwservice_manager_type;
 | 
			
		||||
type hal_camera_postproc_hwservice, hwservice_manager_type;
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								generic/vendor/common/hwservice_contexts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								generic/vendor/common/hwservice_contexts
									
									
									
									
										vendored
									
									
								
							@@ -58,3 +58,4 @@ vendor.qti.hardware.tui_comm::ITuiComm                       u:object_r:hal_tui_
 | 
			
		||||
vendor.qti.hardware.qdutils_disp::IQdutilsDisp               u:object_r:hal_qdutils_disp_hwservice:s0
 | 
			
		||||
android.hardware.media.c2::IConfigurable                     u:object_r:hal_codec2_hwservice:s0
 | 
			
		||||
vendor.qti.hardware.display.mapper::IQtiMapper               u:object_r:hal_graphics_mapper_hwservice:s0
 | 
			
		||||
vendor.qti.hardware.camera.postproc::IPostProcService        u:object_r:hal_camera_postproc_hwservice:s0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user