Bug 1965563 - Allow clock_gettime(CLOCK_MONOTONIC_RAW, ...) in content processes. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D250262
This commit is contained in:
committed by
padenot@mozilla.com
parent
0f073af20c
commit
04fd4878ad
@@ -951,6 +951,9 @@ class SandboxPolicyCommon : public SandboxPolicyBase {
|
||||
#ifdef CLOCK_MONOTONIC_COARSE
|
||||
// Used by SandboxReporter, among other things.
|
||||
.ElseIf(clk_id == CLOCK_MONOTONIC_COARSE, Allow())
|
||||
#endif
|
||||
#ifdef CLOCK_MONOTONIC_RAW
|
||||
.ElseIf(clk_id == CLOCK_MONOTONIC_RAW, Allow())
|
||||
#endif
|
||||
.ElseIf(clk_id == CLOCK_PROCESS_CPUTIME_ID, Allow())
|
||||
.ElseIf(clk_id == CLOCK_REALTIME, Allow())
|
||||
|
||||
Reference in New Issue
Block a user