Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/namei.h
Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* namei operational modifier flags, stored in ni_cnd.flags | * namei operational modifier flags, stored in ni_cnd.flags | ||||
*/ | */ | ||||
#define LOCKLEAF 0x0004 /* lock vnode on return */ | #define LOCKLEAF 0x0004 /* lock vnode on return */ | ||||
#define LOCKPARENT 0x0008 /* want parent vnode returned locked */ | #define LOCKPARENT 0x0008 /* want parent vnode returned locked */ | ||||
#define WANTPARENT 0x0010 /* want parent vnode returned unlocked */ | #define WANTPARENT 0x0010 /* want parent vnode returned unlocked */ | ||||
#define NOCACHE 0x0020 /* name must not be left in cache */ | #define NOCACHE 0x0020 /* name must not be left in cache */ | ||||
#define FOLLOW 0x0040 /* follow symbolic links */ | #define FOLLOW 0x0040 /* follow symbolic links */ | ||||
#define BENEATH 0x0080 /* No escape from the start dir */ | |||||
#define LOCKSHARED 0x0100 /* Shared lock leaf */ | #define LOCKSHARED 0x0100 /* Shared lock leaf */ | ||||
#define NOFOLLOW 0x0000 /* do not follow symbolic links (pseudo) */ | #define NOFOLLOW 0x0000 /* do not follow symbolic links (pseudo) */ | ||||
#define MODMASK 0x01fc /* mask of operational modifiers */ | #define MODMASK 0x01fc /* mask of operational modifiers */ | ||||
/* | /* | ||||
* Namei parameter descriptors. | * Namei parameter descriptors. | ||||
* | * | ||||
* SAVENAME may be set by either the callers of namei or by VOP_LOOKUP. | * SAVENAME may be set by either the callers of namei or by VOP_LOOKUP. | ||||
* If the caller of namei sets the flag (for example execve wants to | * If the caller of namei sets the flag (for example execve wants to | ||||
▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines |