2 ms·
> Taking access to a clock or sleep mechanism away doesn't stop the bad guys but makes common programmers lives much more difficult. You don't take it away, yo
by naasking 9y ago
> Taking access to a clock or sleep mechanism away doesn't stop the bad guys but makes common programmers lives much more difficult.
You don't take it away, you reify the clock as a capability/handle. This has two benefits:
1. Those vulnerabilities have shown that you can mount timing attacks even without a clock, but a clock amplifies the timing attacks you can mount. For instance, there remain attacks with a clock even if Spectre and Meltdown and related vulnerabilities are fixed.
2. There are software engineering benefits. For instance, in principle you can replace the clock handle with a proxy that you can use to provide your own times. This helps considerably with testing, deterministic replay, etc.