You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix compatibility with older 32-bit kernels (#1374)
* Fix handling of negative timestamps in `stat` on Linux.
Some Linux `stat64` structs are defined with `st_atime`, `st_mtime`, and
`st_ctime` fields using unsigned types, even though they hold signed
values. Convert them to signed before converting them to `i64`, so that
they're signed-extended.
This fixes test failures on old 32-bit Linux platforms which lack
`statx`.
* Fix select fallback for 32-bit platforms.
* Add a "linux_5_1" feature for specializing for Linux >= 5.1.
* Fix `test_vdso` to handle older kernel versions on x86 and powerpc.
* Fix poll, select, epoll_wait, and futex for 32-bit platforms.
Handle kernel versions that lack _time64 syscalls. And change all
timeouts to `Option<&Timepsec>`, for efficiency and consistency.
* Use `opt_ref` for passing optional references to syscalls.
* Fix `Timespec` layout on Windows to match `Nsecs`.
* Convert kernel_sigtimedwait to use timeouts like poll/etc.
0 commit comments