Re: LTP testing (shmat01)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux