Bug 1571290 - Allow clock_gettime64 in the 32-bit linux seccomp-bpf profile. r=jld

Differential Revision: https://phabricator.services.mozilla.com/D76351
This commit is contained in:
Gian-Carlo Pascutto 2020-05-22 23:11:59 +00:00
Родитель 6989efb908
Коммит 31a659bfbe
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -478,6 +478,9 @@ class SandboxPolicyCommon : public SandboxPolicyBase {
// Timekeeping // Timekeeping
case __NR_clock_nanosleep: case __NR_clock_nanosleep:
case __NR_clock_getres: case __NR_clock_getres:
#ifdef __NR_clock_gettime64
case __NR_clock_gettime64:
#endif
case __NR_clock_gettime: { case __NR_clock_gettime: {
// clockid_t can encode a pid or tid to monitor another // clockid_t can encode a pid or tid to monitor another
// process or thread's CPU usage (see CPUCLOCK_PID and related // process or thread's CPU usage (see CPUCLOCK_PID and related