Skip to content
Unverified Commit 31909e33 authored by Michael Weiß's avatar Michael Weiß Committed by Christian Brauner
Browse files

timens: additional helper functions for boottime offset handling



Provide functions for time_namespace to subtract the boottime offset
from a timespec64 as well as to apply the boottime offset to u64 types in
nanoseconds.

Signed-off-by: default avatarMichael Weiß <michael.weiss@aisec.fraunhofer.de>
Reviewed-by: default avatarAndrei Vagin <avagin@gmail.com>
Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
Acked-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20201027204258.7869-2-michael.weiss@aisec.fraunhofer.de
parent 3cea11cd
Loading
Loading
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