[Top] [All Lists]

Re: LTP testing (shmat01)

To: Carsten Langgaard <>
Subject: Re: LTP testing (shmat01)
From: Ralf Baechle <>
Date: Fri, 5 Jul 2002 16:37:54 +0200
In-reply-to: <>; from on Fri, Jul 05, 2002 at 08:30:48AM +0200
References: <> <> <> <> <>
User-agent: Mutt/
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 ...


<Prev in Thread] Current Thread [Next in Thread>