mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:22:45 +00:00 
			
		
		
		
	Kernel+Libraries: Don't include limits.h from LibELF/Validation.h
The fallout of this is that Kernel/Syscalls/execve.cpp doesn't have access to ARG_MAX anymore, so move that definition to Kernel/API as well
This commit is contained in:
		
							parent
							
								
									ad30b8c447
								
							
						
					
					
						commit
						c87557e9c1
					
				
					 3 changed files with 2 additions and 3 deletions
				
			
		|  | @ -25,4 +25,6 @@ | |||
| 
 | ||||
| #define NGROUPS_MAX 32 | ||||
| 
 | ||||
| #define ARG_MAX 65536 | ||||
| 
 | ||||
| #define PTHREAD_STACK_MIN (64 * 1024) // 64KiB
 | ||||
|  |  | |||
|  | @ -62,8 +62,6 @@ | |||
| #define LLONG_WIDTH 64 | ||||
| #define ULLONG_WIDTH 64 | ||||
| 
 | ||||
| #define ARG_MAX 65536 | ||||
| 
 | ||||
| #define SSIZE_MAX LONG_MAX | ||||
| 
 | ||||
| #define LINK_MAX 4096 | ||||
|  |  | |||
|  | @ -8,7 +8,6 @@ | |||
| 
 | ||||
| #include <AK/StringBuilder.h> | ||||
| #include <LibC/elf.h> | ||||
| #include <limits.h> | ||||
| 
 | ||||
| namespace ELF { | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andrew Kaster
						Andrew Kaster