mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 07:22:45 +00:00 
			
		
		
		
	 b27f88f61d
			
		
	
	
		b27f88f61d
		
	
	
	
	
		
			
			Instead of using a special case of the annotate_mapping syscall, let's introduce a new prctl option to disallow further annotations of Regions as new syscall Region(s).
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			280 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			280 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #define PR_SET_DUMPABLE 1
 | |
| #define PR_GET_DUMPABLE 2
 | |
| #define PR_SET_NO_NEW_SYSCALL_REGION_ANNOTATIONS 3
 | |
| #define PR_GET_NO_NEW_SYSCALL_REGION_ANNOTATIONS 4
 |