mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-26 05:49:56 +00:00
This patch changes the 'Timestamp' type of the VFS and file-system session to an unsigned 64-bit value holding the number of milliseconds since the UNIX epoch (beginning of 1970). The special case of an invalid timestamp has been removed as it was never consistently handled anyway. In contrast to the POSIX timespec, which represents tv_sec and tv_nsec both as signed values, this patch uses an unsigned value because the interpretation of negative tv_sec and tv_nsec values is muddy. Hypothetical modification times older that 1970 are capped at 1970. Fixes #3511