vfs_gpfs: Prevent mangling of GPFS timestamps after 2106
authorVolker Lendecke <vl@samba.org>
Mon, 31 Aug 2020 14:14:14 +0000 (16:14 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 19 Aug 2022 11:42:38 +0000 (11:42 +0000)
commitb954d181cd25d9029d3c222e8d97fe7a3b0b2400
tree2710a915560118b63a49598c485f587ac6153e14
parent96e2a82760ea06a89b7387b5cd3e864732afded3
vfs_gpfs: Prevent mangling of GPFS timestamps after 2106

gpfs_set_times as of August 2020 stores 32-bit unsigned tv_sec. We
should not silently garble time stamps but reject the attempt to set
an out-of-range timestamp.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15151
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
source3/modules/vfs_gpfs.c