mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			609 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			609 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1657849
 | |
| --- a/security/sandbox/linux/SandboxFilter.cpp
 | |
| +++ b/security/sandbox/linux/SandboxFilter.cpp
 | |
| @@ -1694,10 +1694,10 @@
 | |
|          return Allow();
 | |
|        case __NR_sched_get_priority_min:
 | |
|        case __NR_sched_get_priority_max:
 | |
| +      case __NR_sched_setscheduler:
 | |
|          return Allow();
 | |
|        case __NR_sched_getparam:
 | |
| -      case __NR_sched_getscheduler:
 | |
| -      case __NR_sched_setscheduler: {
 | |
| +      case __NR_sched_getscheduler: {
 | |
|          Arg<pid_t> pid(0);
 | |
|          return If(pid == 0, Allow()).Else(Trap(SchedTrap, nullptr));
 | |
|        }
 |