diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-11-11 21:16:21 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-01-15 16:54:30 +0100 |
commit | 52879b464a6a85ff4070786e8a5c876233ac6f67 (patch) | |
tree | bdaa26ea8a11f61705f5aa7841b05d07a921e39c /fs/nfs/nfs4xdr.c | |
parent | NFS: Attach supplementary error information to fs_context. (diff) | |
download | linux-52879b464a6a85ff4070786e8a5c876233ac6f67.tar.xz linux-52879b464a6a85ff4070786e8a5c876233ac6f67.zip |
sunrpc: convert to time64_t for expiry
Using signed 32-bit types for UTC time leads to the y2038 overflow,
which is what happens in the sunrpc code at the moment.
This changes the sunrpc code over to use time64_t where possible.
The one exception is the gss_import_v{1,2}_context() function for
kerberos5, which uses 32-bit timestamps in the protocol. Here,
we can at least treat the numbers as 'unsigned', which extends the
range from 2038 to 2106.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions