Add INHERIT_XXX defines for minherit() system call.
Remove MAP_INHERIT - it is no longer supported.
This commit is contained in:
parent
5cb74fd363
commit
2ee4dc6565
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82295
@ -39,6 +39,13 @@
|
||||
|
||||
#include <sys/_posix.h>
|
||||
|
||||
/*
|
||||
* Inheritance for minherit()
|
||||
*/
|
||||
#define INHERIT_SHARE 0
|
||||
#define INHERIT_COPY 1
|
||||
#define INHERIT_NONE 2
|
||||
|
||||
/*
|
||||
* Protections are chosen from these bits, or-ed together
|
||||
*/
|
||||
@ -61,7 +68,7 @@
|
||||
#define MAP_FIXED 0x0010 /* map addr must be exactly as requested */
|
||||
#define MAP_RENAME 0x0020 /* Sun: rename private pages to file */
|
||||
#define MAP_NORESERVE 0x0040 /* Sun: don't reserve needed swap area */
|
||||
#define MAP_INHERIT 0x0080 /* region is retained after exec */
|
||||
#define MAP_RESERVED0080 0x0080 /* previously misimplemented MAP_INHERIT */
|
||||
#define MAP_RESERVED0100 0x0100 /* previously unimplemented MAP_NOEXTEND */
|
||||
#define MAP_HASSEMAPHORE 0x0200 /* region may contain semaphores */
|
||||
#define MAP_STACK 0x0400 /* region grows down, like a stack */
|
||||
|
Loading…
Reference in New Issue
Block a user