sepolicy: Remove diag support from surfaceflinger
Change-Id: Id615edb832ce53fd97975dfd1e3550eb5906fbed
This commit is contained in:
		
							
								
								
									
										7
									
								
								generic/vendor/common/surfaceflinger.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								generic/vendor/common/surfaceflinger.te
									
									
									
									
										vendored
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
# Copyright (c) 2018, The Linux Foundation. All rights reserved.
 | 
			
		||||
# Copyright (c) 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
 | 
			
		||||
@@ -29,10 +29,5 @@ dontaudit surfaceflinger kernel:system module_request;
 | 
			
		||||
 | 
			
		||||
allow surfaceflinger sysfs_graphics:file rw_file_perms;
 | 
			
		||||
 | 
			
		||||
#diag
 | 
			
		||||
userdebug_or_eng(`
 | 
			
		||||
    diag_use(surfaceflinger)
 | 
			
		||||
')
 | 
			
		||||
 | 
			
		||||
get_prop(surfaceflinger, vendor_gralloc_prop)
 | 
			
		||||
get_prop(surfaceflinger, vendor_display_prop)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user