refactor adjtime function using adjtimex function instead of syscall
authorRich Felker <dalias@aerifal.cx>
Sat, 20 Jul 2019 21:23:40 +0000 (17:23 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 20 Jul 2019 21:23:40 +0000 (17:23 -0400)
commite53a91da582be156487daae39ab675e1fcb1848d
tree84a0ccd4fd7ae9c47a4cc68a8a5c6dca10af384c
parent107d68ad1737929a3e815bd28514cb56e4bedd57
refactor adjtime function using adjtimex function instead of syscall

this removes the assumption that userspace struct timex matches the
syscall type and sets the stage for 64-bit time_t on 32-bit archs.
src/linux/adjtime.c