On Fri, Jul 05, 2002 at 08:30:48AM +0200, Carsten Langgaard wrote: > Using PAGE_SIZE is ok, even though it may differ from different architecture, > because SHMLBA is defined as the following in /usr/include/sys/shm.h: > #define SHMLBA (__getpagesize ()) > > So I would expect the user application and the kernel should have the same > idea of what the size is. Definately. I just checked it - this is an antique bug that was already present in glibc 2.0.6. I'm amazed people we got away with that one for so long ... Ralf