This commit is contained in:
enami 2009-02-11 00:20:18 +00:00
parent 7efd6dbe73
commit c2af4c75ef
2 changed files with 38 additions and 34 deletions

View File

@ -1,11 +1,11 @@
/* $NetBSD: rump_namei.h,v 1.2 2008/11/17 08:59:33 pooka Exp $ */
/* $NetBSD: rump_namei.h,v 1.3 2009/02/11 00:20:18 enami Exp $ */
/*
* WARNING: GENERATED FILE. DO NOT EDIT
* (edit namei.src and run make namei in src/sys/sys)
* by: NetBSD: gennameih.awk,v 1.3 2008/11/17 08:47:20 pooka Exp
* from: NetBSD: namei.src,v 1.9 2008/11/17 07:20:37 pooka Exp
* by: NetBSD: gennameih.awk,v 1.4 2008/12/03 10:54:27 ad Exp
* from: NetBSD: namei.src,v 1.10 2009/02/11 00:19:11 enami Exp
*/
#ifndef _RUMP_RUMP_NAMEI_H_
@ -16,15 +16,15 @@
#define RUMP_NAMEI_DELETE 2
#define RUMP_NAMEI_RENAME 3
#define RUMP_NAMEI_OPMASK 3
#define RUMP_NAMEI_LOCKLEAF 0x0004
#define RUMP_NAMEI_LOCKPARENT 0x0008
#define RUMP_NAMEI_NOCHROOT 0x0010
#define RUMP_NAMEI_NOCACHE 0x0020
#define RUMP_NAMEI_FOLLOW 0x0040
#define RUMP_NAMEI_NOFOLLOW 0x0000
#define RUMP_NAMEI_TRYEMULROOT 0x0010
#define RUMP_NAMEI_EMULROOTSET 0x0080
#define RUMP_NAMEI_MODMASK 0x00fc
#define RUMP_NAMEI_LOCKLEAF 0x00000004
#define RUMP_NAMEI_LOCKPARENT 0x00000008
#define RUMP_NAMEI_TRYEMULROOT 0x00000010
#define RUMP_NAMEI_NOCACHE 0x00000020
#define RUMP_NAMEI_FOLLOW 0x00000040
#define RUMP_NAMEI_NOFOLLOW 0x00000000
#define RUMP_NAMEI_EMULROOTSET 0x00000080
#define RUMP_NAMEI_NOCHROOT 0x01000000
#define RUMP_NAMEI_MODMASK 0x010000fc
#define RUMP_NAMEI_NOCROSSMOUNT 0x0000100
#define RUMP_NAMEI_RDONLY 0x0000200
#define RUMP_NAMEI_HASBUF 0x0000400

View File

@ -1,10 +1,11 @@
/* $NetBSD: namei.h,v 1.63 2008/11/17 07:20:54 pooka Exp $ */
/* $NetBSD: namei.h,v 1.64 2009/02/11 00:20:18 enami Exp $ */
/*
* WARNING: GENERATED FILE. DO NOT EDIT
* (edit namei.src and run make namei)
* by: NetBSD: gennameih.awk,v 1.2 2008/04/30 13:11:00 martin Exp
* from: NetBSD: namei.src,v 1.9 2008/11/17 07:20:37 pooka Exp
* (edit namei.src and run make namei in src/sys/sys)
* by: NetBSD: gennameih.awk,v 1.4 2008/12/03 10:54:27 ad Exp
* from: NetBSD: namei.src,v 1.10 2009/02/11 00:19:11 enami Exp
*/
/*
@ -107,15 +108,18 @@ struct nameidata {
/*
* namei operational modifier flags, stored in ni_cnd.cn_flags
*/
#define LOCKLEAF 0x0004 /* lock inode on return */
#define LOCKPARENT 0x0008 /* want parent vnode returned locked */
#define NOCHROOT 0x0010 /* no chroot on abs path lookups */
#define NOCACHE 0x0020 /* name must not be left in cache */
#define FOLLOW 0x0040 /* follow symbolic links */
#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 LOCKLEAF 0x00000004 /* lock inode on return */
#define LOCKPARENT 0x00000008 /* want parent vnode returned locked */
#define TRYEMULROOT 0x00000010 /* try relative to emulation root
first */
#define NOCACHE 0x00000020 /* name must not be left in cache */
#define FOLLOW 0x00000040 /* follow symbolic links */
#define NOFOLLOW 0x00000000 /* do not follow symbolic links
(pseudo) */
#define EMULROOTSET 0x00000080 /* emulation root already
in ni_erootdir */
#define NOCHROOT 0x01000000 /* no chroot on abs path lookups */
#define MODMASK 0x010000fc /* mask of operational modifiers */
/*
* Namei parameter descriptors.
*
@ -249,15 +253,15 @@ extern struct nchstats nchstats;
#define NAMEI_DELETE 2
#define NAMEI_RENAME 3
#define NAMEI_OPMASK 3
#define NAMEI_LOCKLEAF 0x0004
#define NAMEI_LOCKPARENT 0x0008
#define NAMEI_NOCHROOT 0x0010
#define NAMEI_NOCACHE 0x0020
#define NAMEI_FOLLOW 0x0040
#define NAMEI_NOFOLLOW 0x0000
#define NAMEI_TRYEMULROOT 0x0010
#define NAMEI_EMULROOTSET 0x0080
#define NAMEI_MODMASK 0x00fc
#define NAMEI_LOCKLEAF 0x00000004
#define NAMEI_LOCKPARENT 0x00000008
#define NAMEI_TRYEMULROOT 0x00000010
#define NAMEI_NOCACHE 0x00000020
#define NAMEI_FOLLOW 0x00000040
#define NAMEI_NOFOLLOW 0x00000000
#define NAMEI_EMULROOTSET 0x00000080
#define NAMEI_NOCHROOT 0x01000000
#define NAMEI_MODMASK 0x010000fc
#define NAMEI_NOCROSSMOUNT 0x0000100
#define NAMEI_RDONLY 0x0000200
#define NAMEI_HASBUF 0x0000400