sepolicy: Add selinux policy for kernel debug script
Add selinux policy for kernel debug script. This script is run in boot up phase by vendor init. · Change-Id: I8e3fade00c85a48fe2899de8f87b7322bdebf147
This commit is contained in:
		
				
					committed by
					
						
						Gerrit - the friendly Code Review server
					
				
			
			
				
	
			
			
			
						parent
						
							4265545064
						
					
				
				
					commit
					467908b46b
				
			
							
								
								
									
										5
									
								
								generic/vendor/test/file_contexts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								generic/vendor/test/file_contexts
									
									
									
									
										vendored
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
# Copyright (c) 2018, The Linux Foundation. All rights reserved.
 | 
			
		||||
# Copyright (c) 2018, 2020 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
 | 
			
		||||
@@ -77,6 +77,9 @@
 | 
			
		||||
/(vendor|system/vendor)/bin/test-fake-ap                        u:object_r:vendor_location_exec:s0
 | 
			
		||||
/(vendor|system/vendor)/bin/test-fdal                           u:object_r:vendor_location_exec:s0
 | 
			
		||||
 | 
			
		||||
#For debug script
 | 
			
		||||
/(vendor|system/vendor)/bin/init\.qti\.kernel\.debug\.sh        u:object_r:vendor_qti_init_shell_exec:s0
 | 
			
		||||
 | 
			
		||||
/(vendor|system/vendor)/bin/sns.*               u:object_r:vendor_sensors_test_exec:s0
 | 
			
		||||
# Sensors scripts for test app
 | 
			
		||||
/data/sensors/scripts(/.*)?                                     u:object_r:vendor_sensors_data_file:s0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user