about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/feupdateenv.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-05-24 16:24:19 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-05-30 08:53:07 -0300
commit4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8 (patch)
treeff9e6cdae0a2296b1a7598842bd779dd3fa6d1c8 /sysdeps/i386/fpu/feupdateenv.c
parent1512599694d0ead4394c0950525fdab09332faf5 (diff)
downloadglibc-4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8.tar.gz
glibc-4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8.tar.xz
glibc-4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8.zip
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>
Diffstat (limited to 'sysdeps/i386/fpu/feupdateenv.c')
0 files changed, 0 insertions, 0 deletions