Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/fcntl.h
Show First 20 Lines • Show All 244 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
#if __POSIX_VISIBLE >= 200809 | #if __POSIX_VISIBLE >= 200809 | ||||
#define F_DUPFD_CLOEXEC 17 /* Like F_DUPFD, but FD_CLOEXEC is set */ | #define F_DUPFD_CLOEXEC 17 /* Like F_DUPFD, but FD_CLOEXEC is set */ | ||||
#endif | #endif | ||||
#if __BSD_VISIBLE | #if __BSD_VISIBLE | ||||
#define F_DUP2FD_CLOEXEC 18 /* Like F_DUP2FD, but FD_CLOEXEC is set */ | #define F_DUP2FD_CLOEXEC 18 /* Like F_DUP2FD, but FD_CLOEXEC is set */ | ||||
#define F_ADD_SEALS 19 | #define F_ADD_SEALS 19 | ||||
#define F_GET_SEALS 20 | #define F_GET_SEALS 20 | ||||
#define F_ISUNIONSTACK 21 /* Kludge for libc, don't use it. */ | |||||
/* Seals (F_ADD_SEALS, F_GET_SEALS). */ | /* Seals (F_ADD_SEALS, F_GET_SEALS). */ | ||||
#define F_SEAL_SEAL 0x0001 /* Prevent adding sealings */ | #define F_SEAL_SEAL 0x0001 /* Prevent adding sealings */ | ||||
#define F_SEAL_SHRINK 0x0002 /* May not shrink */ | #define F_SEAL_SHRINK 0x0002 /* May not shrink */ | ||||
#define F_SEAL_GROW 0x0004 /* May not grow */ | #define F_SEAL_GROW 0x0004 /* May not grow */ | ||||
#define F_SEAL_WRITE 0x0008 /* May not write */ | #define F_SEAL_WRITE 0x0008 /* May not write */ | ||||
#endif /* __BSD_VISIBLE */ | #endif /* __BSD_VISIBLE */ | ||||
▲ Show 20 Lines • Show All 95 Lines • Show Last 20 Lines |