Bug 1304220 - Allow media plugins to use the times(2) syscall. r=gcp

--HG--
extra : rebase_source : 595bf264b48968ec25d02c82866ef02ef87a59fa
This commit is contained in:
Jed Davis 2016-09-26 16:32:00 -04:00
Родитель 176384949f
Коммит cb2e7d319f
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -841,6 +841,10 @@ public:
.Else(Trap(SchedTrap, nullptr));
}
// For clock(3) on older glibcs; bug 1304220.
case __NR_times:
return Allow();
default:
return SandboxPolicyCommon::EvaluateSyscall(sysno);
}