mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
11306d7121
The fact that current_time can "fail" makes its use a bit awkward. All callers in the Kernel are trusted besides syscalls, so assert that they never get there, and make sure all current callers perform validation of the clock_id with TimeManagement::is_valid_clock_id(). I have fuzzed this change locally for a bit to make sure I didn't miss any obvious regression. |
||
---|---|---|
.. | ||
APICTimer.cpp | ||
APICTimer.h | ||
HardwareTimer.h | ||
HPET.cpp | ||
HPET.h | ||
HPETComparator.cpp | ||
HPETComparator.h | ||
PIT.cpp | ||
PIT.h | ||
RTC.cpp | ||
RTC.h | ||
TimeManagement.cpp | ||
TimeManagement.h |