Thread (1 message) 1 message, 1 author, 2002-07-05

Re: LTP testing (shmat01)

From: Ralf Baechle <hidden>
Date: 2002-07-05 14:34:05

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help