Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/unistd.h
Show First 20 Lines • Show All 194 Lines • ▼ Show 20 Lines | |||||
#define RFSPAWN (1U<<31) | #define RFSPAWN (1U<<31) | ||||
#define RFFLAGS (RFFDG | RFPROC | RFMEM | RFNOWAIT | RFCFDG | \ | #define RFFLAGS (RFFDG | RFPROC | RFMEM | RFNOWAIT | RFCFDG | \ | ||||
RFTHREAD | RFSIGSHARE | RFLINUXTHPN | RFSTOPPED | RFHIGHPID | RFTSIGZMB | \ | RFTHREAD | RFSIGSHARE | RFLINUXTHPN | RFSTOPPED | RFHIGHPID | RFTSIGZMB | \ | ||||
RFPROCDESC | RFSPAWN | RFPPWAIT) | RFPROCDESC | RFSPAWN | RFPPWAIT) | ||||
#define RFKERNELONLY (RFSTOPPED | RFHIGHPID | RFPROCDESC) | #define RFKERNELONLY (RFSTOPPED | RFHIGHPID | RFPROCDESC) | ||||
#define SWAPOFF_FORCE 0x00000001 | #define SWAPOFF_FORCE 0x00000001 | ||||
/* | |||||
* close_range() options. | |||||
*/ | |||||
#define CLOSE_RANGE_CLOEXEC (1<<2) | |||||
markj: Hmm but then you have to update the pattern used in libsysdecode. Alternately just write 0x4… | |||||
Done Inline ActionsThe above is copy-pasted from rfork. I had manually typed this off but it failed to patter-match, I don't think touching this is worth any effort. mjg: The above is copy-pasted from rfork. I had manually typed this off but it failed to patter… | |||||
#endif /* __BSD_VISIBLE */ | #endif /* __BSD_VISIBLE */ | ||||
#endif /* !_SYS_UNISTD_H_ */ | #endif /* !_SYS_UNISTD_H_ */ |
Hmm but then you have to update the pattern used in libsysdecode. Alternately just write 0x4 since that's a more common style for flag definitions.