DescriptionNon-SFI NaCl: Disallow fancy clock IDs
Restrict the admissible set of clock IDs to just CLOCK_MONOTONIC,
CLOCK_PROCESS_CPUTIME_ID, CLOCK_REALTIME, and CLOCK_THREAD_CPUTIME_ID
(i.e., the same clocks allowed in regular NaCl). In particular, we do
not allow arbitrary per-process CPU clocks, which can leak information
about the state of other non-SFI processes.
BUG=374479
TBR=cpu@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271859
Patch Set 1 #Patch Set 2 : Add unit tests #Patch Set 3 : Use delegate API instead of static initializers #Patch Set 4 : Allow CPU clocks for the current process/thread to match SFI NaCl #
Total comments: 6
Patch Set 5 : Respond to hamaji@ feedback #Patch Set 6 : Fix test name #
Total comments: 4
Patch Set 7 : Respond to mseaborn@ feedback #
Messages
Total messages: 15 (0 generated)
|