From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199706010427.XAA19160@stommel.tamu.edu> Date: Sat, 31 May 1997 23:27:56 +1900 (CDT) From: Richard Henderson Subject: Re: 2.0.30 + shmctl In-Reply-To: <199705282124.XAA06124@orion.ens.fr> > The main problem is that a ushort is two bytes long, and a __uid_t is > four bytes long. This is much disturbing; the kernel uses its definition > in the values it returns, but userland programs use the other one. This > breaks gdb (from RedHat 4.1), xquake (the 1.06 elf binary), and any > program using shmctl(), including all the X programs using XShmPutImage() > and similar functions. Yep. > My kernel is a clean 2.0.30 from ftp.kernel.org, no patch (and no > axp-diff patch). That's your problem. The axp-diff changes the kernel's notion to match glibc's correct definition. This is fixed for good in 2.1 somewhere. r~ -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com