Fri, Aug 24, 2001 at 09:11:50, dillon (Matt Dillon) wrote about "Re: mmap MAP_INHERIT
question.":
> :> MAP_INHERIT This is supposed to permit regions to be
> :> inherited across execve(2) system calls,
> :>
:>
:> MAP_INHERIT This is supposed to permit regions to be
:> inherited across execve(2) system calls,
:> but is currently broken.
:
: Support for the flag and reference to it in the manpage should just be
:removed.
:
:-DG
:
:David Greenman
From: David Greenman <[EMAIL PROTECTED]>
Subject: Re: mmap MAP_INHERIT question.
Date: Thu, Aug 23, 2001 at 12:59:05PM -0700
> >Perhaps this should be changed to something along the lines of the
> >following?
> >
> > MAP_INHERIT This is su
>From: Matt Dillon <[EMAIL PROTECTED]>
>Subject: Re: mmap MAP_INHERIT question.
>Date: Thu, Aug 23, 2001 at 10:38:31AM -0700
>
>>MAP_INHERIT is broken and always has been.
>>
>> -Matt
>
>Is then a send-pr to remo
From: Matt Dillon <[EMAIL PROTECTED]>
Subject: Re: mmap MAP_INHERIT question.
Date: Thu, Aug 23, 2001 at 10:38:31AM -0700
>MAP_INHERIT is broken and always has been.
>
> -Matt
Is then a send-pr to remove the MAP_INHERIT description from
On Thu, 23 Aug 2001, Bernd Walter wrote:
> On Thu, Aug 23, 2001 at 10:38:31AM -0700, Matt Dillon wrote:
> >MAP_INHERIT is broken and always has been.
>
> That's a good argument.
> If it's true it awards an entry in the manpages BUGS section.
> Btw. I just tested on NetBSD 1.5U sparc with t
On Thu, Aug 23, 2001 at 10:13:01AM -0700, Julian Elischer wrote:
> exec gives you an new vm space..
> inherrit only applies to forks
Then the manpage is absolutely wrong:
MAP_INHERIT Permit regions to be inherited across execve(2) system
calls.
I asumed MAP_SHA
MAP_INHERIT is broken and always has been.
-Matt
:exec gives you an new vm space..
:inherrit only applies to forks
:
:
:On Thu, 23 Aug 2001, Alfred Perlstein wrote:
:
:> * Bernd Walter <[EMAIL PROTECTED]> [010823 06:16] wrote:
:> > I do the following:
:
exec gives you an new vm space..
inherrit only applies to forks
On Thu, 23 Aug 2001, Alfred Perlstein wrote:
> * Bernd Walter <[EMAIL PROTECTED]> [010823 06:16] wrote:
> > I do the following:
> > buf = (char*)mmap(NULL, BUFSIZE, PROT_READ | PROT_WRITE,
> > MAP_ANON | MAP_INHERIT
* Bernd Walter <[EMAIL PROTECTED]> [010823 06:16] wrote:
> I do the following:
> buf = (char*)mmap(NULL, BUFSIZE, PROT_READ | PROT_WRITE,
> MAP_ANON | MAP_INHERIT | MAP_SHARED, -1, 0);
>
> Now I vfork/execve a child.
> But the child can't access the mmaped memory.
> It was my un
10 matches
Mail list logo