Skip to content
Snippets Groups Projects
Commit c673f61d authored by Ivan Šandrk's avatar Ivan Šandrk Committed by Chromium LUCI CQ
Browse files

[Bedtime Hours] Prevent tampering with system time

In order to prevent students from getting out of the restricted mode,
prevent tampering with the system time.

Remember the highest seen system time and write some logic around it
(since the system time can be changed by removing the CMOS battery).

Bug: b:345186543
Change-Id: I9d2dbe4769d5340b1421f5a2cb8663c8d083a34e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5971575


Reviewed-by: default avatarSergey Poromov <poromov@chromium.org>
Commit-Queue: Ivan Šandrk <isandrk@chromium.org>
Reviewed-by: default avatarDenis Kuznetsov <antrim@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1378928}
parent 2db3dffa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment