1
0
Fork 0
mirror of git://sourceware.org/git/glibc.git synced 2025-03-06 20:58:33 +01:00
glibc/sysdeps
Adhemerval Zanella 5f828ff824 io: Fix F_GETLK, F_SETLK, and F_SETLKW for powerpc64
Different than other 64 bit architectures, powerpc64 defines the
LFS POSIX lock constants  with values similar to 32 ABI, which
are meant to be used with fcntl64 syscall.  Since powerpc64 kABI
does not have fcntl, the constants are adjusted with the
FCNTL_ADJUST_CMD macro.

The 4d0fe291ae changed the logic of generic constants
LFS value are equal to the default values; which is now wrong
for powerpc64.

Fix the value by explicit define the previous glibc constants
(powerpc64 does not need to use the 32 kABI value, but it simplifies
the FCNTL_ADJUST_CMD which should be kept as compatibility).

Checked on powerpc64-linux-gnu and powerpc-linux-gnu.
2023-05-31 15:31:02 -03:00
..
aarch64 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
alpha Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
arc Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
arm Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
csky Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
generic Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
gnu Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
hppa Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
htl Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
hurd hurd: Fix using interposable hurd_thread_self 2023-05-19 20:45:51 +02:00
i386 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
ia64 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
ieee754 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
loongarch Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
m68k Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
mach Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
microblaze Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mips Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
nios2 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
nptl Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
or1k Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
posix posix: Add error message for EAI_OVERFLOW 2023-05-29 15:30:14 +02:00
powerpc Regenerate configure fragment -- BZ 25337. 2023-05-23 16:21:29 +00:00
pthread Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
riscv Revert "riscv: Resolve symbols directly for symbols with STO_RISCV_VARIANT_CC." 2023-05-07 14:16:03 +02:00
s390 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
sh Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
sparc Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
unix io: Fix F_GETLK, F_SETLK, and F_SETLKW for powerpc64 2023-05-31 15:31:02 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
wordsize-64 hurd: Fix tst-writev test 2023-05-01 13:01:30 +02:00
x86 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
x86_64 Fix misspellings in sysdeps/x86_64 -- BZ 25337. 2023-05-23 10:25:11 +00:00