io: Fix record locking contants on 32 bit arch with 64 bit default time_t (BZ#30477)
For architecture with default 64 bit time_t support, the kernel
does not provide LFS and non-LFS values for F_GETLK, F_GETLK, and
F_GETLK (the default value used for 64 bit architecture are used).
This is might be considered an ABI break, but the currenct exported
values is bogus anyway.
The POSIX lockf is not affected since it is aliased to lockf64,
which already uses the LFS values.
Checked on i686-linux-gnu and the new tests on a riscv32.
Reviewed-by:
Carlos O'Donell <carlos@redhat.com>
Loading
-
mentioned in commit 0967fb58
-
mentioned in commit 53b58a68
-
mentioned in commit e2974d26
-
mentioned in commit 5f828ff8
-
mentioned in commit cbceb903
-
mentioned in commit 735cc668
-
mentioned in commit 3593050c
-
mentioned in commit 434bf72a
-
mentioned in commit be26b292
-
mentioned in commit 5bdef6f2
-
mentioned in commit 0ae2afe4
-
mentioned in commit 762a747f
Please register or sign in to comment