about summary refs log tree commit diff
path: root/src/network
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-29 20:57:05 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-29 20:57:05 -0400
commit558c01338b0b635632e70af6ec8a484ca70b0328 (patch)
tree1be25aedf065a1d1862cc6f351f9a3ddb88d3916 /src/network
parentb74b3eb4a280c7179971a98df94af6f28942a2ad (diff)
downloadmusl-558c01338b0b635632e70af6ec8a484ca70b0328.tar.gz
musl-558c01338b0b635632e70af6ec8a484ca70b0328.tar.xz
musl-558c01338b0b635632e70af6ec8a484ca70b0328.zip
setitimer, getitimer: decouple time_t from long
these functions have no new time64 syscall, so the existence of a
time64 syscall cannot be used as the condition for the new code.
instead, assume the syscall takes timevals as longs, which is true
everywhere but x32, and interface with the kernel through long[4]
objects.

rather than adding new hacks to special-case x32 here, just add
x32-specific source files since a trivial syscall wrapper suffices
there.

the new code paths added in this commit are statically unreachable on
all current archs, but will become reachable when 32-bit archs get
64-bit time_t.
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions