sepolicy: Allow qti-testscripts to be killed by lmkd
lmkd kills tasks with oom_score_adj >= 0 when the system is under memory pressure. Enhancements have been added to lmkd to support this behavior for processes started from shell as well. Change-Id: Ia28c3373d8b755f911337bb849262e5b654d5041
This commit is contained in:
		
				
					committed by
					
						
						Gerrit - the friendly Code Review server
					
				
			
			
				
	
			
			
			
						parent
						
							91dc859023
						
					
				
				
					commit
					06518abbdc
				
			@@ -95,4 +95,6 @@ userdebug_or_eng(`
 | 
			
		||||
  binder_call(platform_app, qti-testscripts)
 | 
			
		||||
  binder_call(system_app, qti-testscripts)
 | 
			
		||||
 | 
			
		||||
# allow lmkd to kill tasks with positive oom_score_adj under memory pressure
 | 
			
		||||
  allow lmkd qti-testscripts:process { setsched sigkill };
 | 
			
		||||
')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user