Re: 64-bit shm: abi problems

Manfred (manfreds@colorfullife.com)
Mon, 13 Dec 1999 10:28:44 +0100


From: Christoph Rohland <hans-christoph.rohland@sap.com>
>
> Yes I mentioned the shmid_ds problems before they were introduced. But
> Kanoj did not see a big problem here. I still disagree.
>
These changes mean that all 64-bit programs will fail during
shmctl(IPC_SET), ie all functions that change the ownership, permissions,...
We must undo that change.

> The sysctl problems could be probably solved by changing the sysctl
> number for shmmax.

I don't know what we should do here:
* if we don't change the sysctl number, then you would need kernel version
specific code on 64-bit platforms (2.[34]: write a long value; 2.2: write an
int).
* if we change the sysctl number, then you need kernel version specific code
on all platforms.

--
    Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/