version 1.47, 2006/12/24 08:54:55 |
version 1.47.2.2, 2007/05/07 10:56:13 |
Line 46 struct nameidata { |
|
Line 46 struct nameidata { |
|
*/ |
*/ |
const char *ni_dirp; /* pathname pointer */ |
const char *ni_dirp; /* pathname pointer */ |
enum uio_seg ni_segflg; /* location of pathname */ |
enum uio_seg ni_segflg; /* location of pathname */ |
/* u_long ni_nameiop; namei operation */ |
|
/* u_long ni_flags; flags to namei */ |
|
/* struct proc *ni_proc; process requesting lookup */ |
|
/* |
/* |
* Arguments to lookup. |
* Arguments to lookup. |
*/ |
*/ |
/* kauth_cred_t ni_cred; credentials */ |
|
struct vnode *ni_startdir; /* starting directory */ |
struct vnode *ni_startdir; /* starting directory */ |
struct vnode *ni_rootdir; /* logical root directory */ |
struct vnode *ni_rootdir; /* logical root directory */ |
|
struct vnode *ni_erootdir; /* emulation root directory */ |
/* |
/* |
* Results: returned from/manipulated by lookup |
* Results: returned from/manipulated by lookup |
*/ |
*/ |
Line 106 struct nameidata { |
|
Line 103 struct nameidata { |
|
#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 NOFOLLOW 0x0000 /* do not follow symbolic links (pseudo) */ |
#define NOFOLLOW 0x0000 /* do not follow symbolic links (pseudo) */ |
|
#define TRYEMULROOT 0x0010 /* try relative to emulation root first */ |
|
#define EMULROOTSET 0x0080 /* emulation root already in ni_erootdir */ |
#define MODMASK 0x00fc /* mask of operational modifiers */ |
#define MODMASK 0x00fc /* mask of operational modifiers */ |
/* |
/* |
* Namei parameter descriptors. |
* Namei parameter descriptors. |