Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/mman.h
Show All 37 Lines | |||||
#if __BSD_VISIBLE | #if __BSD_VISIBLE | ||||
/* | /* | ||||
* Inheritance for minherit() | * Inheritance for minherit() | ||||
*/ | */ | ||||
#define INHERIT_SHARE 0 | #define INHERIT_SHARE 0 | ||||
#define INHERIT_COPY 1 | #define INHERIT_COPY 1 | ||||
#define INHERIT_NONE 2 | #define INHERIT_NONE 2 | ||||
#define INHERIT_ZERO 3 | |||||
#endif | #endif | ||||
/* | /* | ||||
* Protections are chosen from these bits, or-ed together | * Protections are chosen from these bits, or-ed together | ||||
*/ | */ | ||||
#define PROT_NONE 0x00 /* no permissions */ | #define PROT_NONE 0x00 /* no permissions */ | ||||
#define PROT_READ 0x01 /* pages can be read */ | #define PROT_READ 0x01 /* pages can be read */ | ||||
#define PROT_WRITE 0x02 /* pages can be written */ | #define PROT_WRITE 0x02 /* pages can be written */ | ||||
▲ Show 20 Lines • Show All 225 Lines • Show Last 20 Lines |