aaf5369c72
[ Upstream commit 34ca70ef7d3a9fa7e89151597db5e37ae1d429b4 ]
As discussed in the strace issue tracker, it appears that the sparc32
sysvipc support has been broken for the past 11 years. It was however
working in compat mode, which is how it must have escaped most of the
regular testing.
The problem is that a cleanup patch inadvertently changed the uid/gid
fields in struct ipc64_perm from 32-bit types to 16-bit types in uapi
headers.
Both glibc and uclibc-ng still use the original types, so they should
work fine with compat mode, but not natively. Change the definitions
to use __kernel_uid32_t and __kernel_gid32_t again.
Fixes:
|
||
---|---|---|
.. | ||
apc.h | ||
asi.h | ||
auxvec.h | ||
bitsperlong.h | ||
byteorder.h | ||
display7seg.h | ||
envctrl.h | ||
errno.h | ||
fbio.h | ||
fcntl.h | ||
ioctl.h | ||
ioctls.h | ||
ipcbuf.h | ||
Kbuild | ||
mman.h | ||
msgbuf.h | ||
openpromio.h | ||
oradax.h | ||
param.h | ||
perfctr.h | ||
poll.h | ||
posix_types.h | ||
psr.h | ||
psrcompat.h | ||
pstate.h | ||
ptrace.h | ||
resource.h | ||
sembuf.h | ||
setup.h | ||
shmbuf.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
socket.h | ||
stat.h | ||
statfs.h | ||
swab.h | ||
termbits.h | ||
termios.h | ||
traps.h | ||
uctx.h | ||
unistd.h | ||
utrap.h | ||
watchdog.h |