bug-glibc
[Top][All Lists]
Advanced

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

Re: #define MADV_NORMAL different in kernel and glibc


From: rwhron
Subject: Re: #define MADV_NORMAL different in kernel and glibc
Date: Sun, 28 Oct 2001 14:46:16 -0500
User-agent: Mutt/1.2.5i

On Sun, Oct 28, 2001 at 07:53:22PM +0100, Andreas Jaeger wrote:
> address@hidden writes:
> 
> > Programs like mremap04.c from the Linux Test Project that include mman.h
> > give a warning like:
> 
> Those programs should not include asm/mman.h.  Just remove the
> inclusion of that header and use only glibc's headers.
> 
> Andreas

That is beautiful.  

The warnings go away by:

Remove #include <linux/mman.h> from ltp/testcases/kernel/syscalls/mremap/*.c
Add -DMREMAP_MAYMOVE to ltp/testcases/kernel/syscalls/mremap/Makefile.

Thanks!

-- 
Randy Hron




reply via email to

[Prev in Thread] Current Thread [Next in Thread]