summaryrefslogtreecommitdiff
path: root/src/signal/x32/setitimer.c
AgeCommit message (Collapse)AuthorLines
2019-07-29setitimer, getitimer: decouple time_t from longRich Felker-0/+7
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.