[parisc-linux] what's up with the ipc syscalls?
Carlos O'Donell
carlos@baldric.uwo.ca
Sun, 2 Nov 2003 17:56:27 -0500
On Sun, Nov 02, 2003 at 10:42:00PM +0100, Thomas Bogendoerfer wrote:
> On Sun, Nov 02, 2003 at 10:12:52AM -0800, Randolph Chung wrote:
> > anyway, if we are only supporting IPC_64, then why mask off the IPC64
> > bit in the wrapper? if the ipc/utils.c stuff isn't there, wouldn't it
> > default to doing the right thing when IPC_64 is set?
>
> look at the switch statements in msg.c/sem.c/shm.c. If you don't mask
> off IPC_64, the cases don't match.
>
> > right now glibc *doesn't* call the syscall with IPC_64, but i'm about to
> > make it do that again.
>
> I don't think this is a good idea, because by checking for IPC_64 we
> could see, whether an old glibc is used and could convert structs
> (see sys_parisc.c:sys_shmctl_broken()).
There is no such thing as that "old glibc" we have always had
__ASSUME_IPC64. What support are we looking to preserve?
c.