mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			424 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			424 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| make SYS_fork non-fatal, musl uses it for fork(2)
 | |
| 
 | |
| --- a/security/sandbox/linux/SandboxFilter.cpp
 | |
| +++ b/security/sandbox/linux/SandboxFilter.cpp
 | |
| @@ -1253,6 +1253,10 @@
 | |
|          // usually do something reasonable on error.
 | |
|        case __NR_clone:
 | |
|          return ClonePolicy(Error(EPERM));
 | |
| +#ifdef __NR_fork
 | |
| +      case __NR_fork:
 | |
| +        return Error(ENOSYS);
 | |
| +#endif
 | |
|  
 | |
|  #  ifdef __NR_fadvise64
 | |
|        case __NR_fadvise64:
 |