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 understanding that MAP_INHERIT | MAP_SHARED keep the memory over the execve. -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: mmap MAP_INHERIT question. Bernd Walter
- Re: mmap MAP_INHERIT question. Alfred Perlstein
- Re: mmap MAP_INHERIT question. Julian Elischer
- Re: mmap MAP_INHERIT question. Bernd Walter
- Re: mmap MAP_INHERIT question. Matt Dillon
- Re: mmap MAP_INHERIT question. Julian Elischer
- Re: mmap MAP_INHERIT question. Giorgos Keramidas
- Re: mmap MAP_INHERIT question. David Greenman
- Re: mmap MAP_INHERIT question. Giorgos Keramidas
- Re: mmap MAP_INHERIT question. Matt Dillon
- Re: mmap MAP_INHERIT question. Valentin Nechayev