aboutsummaryrefslogtreecommitdiff
path: root/src/linux/clock_adjtime.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-30 23:48:25 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-31 20:21:04 -0400
commit2e554617e5a6a41bf3f6c6306c753cd53abf728c (patch)
tree9f87293ec82b2ab72551371e8620d2908e22329e /src/linux/clock_adjtime.c
parentget/setsockopt: add fallback for new time64 SO_RCVTIMEO/SO_SNDTIMEO (diff)
downloadgrovel-2e554617e5a6a41bf3f6c6306c753cd53abf728c.tar.gz
grovel-2e554617e5a6a41bf3f6c6306c753cd53abf728c.tar.xz
ioctl: add fallback for new time64 SIOCGSTAMP[NS]
without this, the SIOCGSTAMP and SIOCGSTAMPNS ioctl commands, for obtaining timestamps, would stop working on pre-5.1 kernels after time_t is switched to 64-bit and their values are changed to the new time64 versions. new code is written such that it's statically unreachable on 64-bit archs, and on existing 32-bit archs until the macro values are changed to activate 64-bit time_t.
Diffstat (limited to 'src/linux/clock_adjtime.c')
0 files changed, 0 insertions, 0 deletions