mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Bug 1413312 - Fix media plugin sandbox policy for sched_get_priority_{min,max}. r=gcp
MozReview-Commit-ID: Bz4EWU13HAJ --HG-- extra : rebase_source : 848880e083827a6f40e6ba289a5357ff6b4fa5f6
This commit is contained in:
parent
de1cbf125f
commit
0b91cda795
@ -1130,10 +1130,11 @@ public:
|
|||||||
case __NR_brk:
|
case __NR_brk:
|
||||||
CASES_FOR_geteuid:
|
CASES_FOR_geteuid:
|
||||||
return Allow();
|
return Allow();
|
||||||
case __NR_sched_getparam:
|
|
||||||
case __NR_sched_getscheduler:
|
|
||||||
case __NR_sched_get_priority_min:
|
case __NR_sched_get_priority_min:
|
||||||
case __NR_sched_get_priority_max:
|
case __NR_sched_get_priority_max:
|
||||||
|
return Allow();
|
||||||
|
case __NR_sched_getparam:
|
||||||
|
case __NR_sched_getscheduler:
|
||||||
case __NR_sched_setscheduler: {
|
case __NR_sched_setscheduler: {
|
||||||
Arg<pid_t> pid(0);
|
Arg<pid_t> pid(0);
|
||||||
return If(pid == 0, Allow())
|
return If(pid == 0, Allow())
|
||||||
|
Loading…
Reference in New Issue
Block a user