Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys regen
details: https://anonhg.NetBSD.org/src/rev/3f8ff0cdafa7
branches: trunk
changeset: 782039:3f8ff0cdafa7
user: dholland <dholland%NetBSD.org@localhost>
date: Sat Oct 13 17:47:11 2012 +0000
description:
regen
diffstat:
sys/rump/include/rump/rump_namei.h | 7 +++----
sys/sys/namei.h | 15 +++++++--------
2 files changed, 10 insertions(+), 12 deletions(-)
diffs (93 lines):
diff -r cab447ec1176 -r 3f8ff0cdafa7 sys/rump/include/rump/rump_namei.h
--- a/sys/rump/include/rump/rump_namei.h Sat Oct 13 17:46:50 2012 +0000
+++ b/sys/rump/include/rump/rump_namei.h Sat Oct 13 17:47:11 2012 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: rump_namei.h,v 1.17 2012/10/08 23:44:09 dholland Exp $ */
+/* $NetBSD: rump_namei.h,v 1.18 2012/10/13 17:47:11 dholland Exp $ */
/*
* WARNING: GENERATED FILE. DO NOT EDIT
* (edit namei.src and run make namei in src/sys/sys)
* by: NetBSD: gennameih.awk,v 1.5 2009/12/23 14:17:19 pooka Exp
- * from: NetBSD: namei.src,v 1.26 2012/10/08 23:43:33 dholland Exp
+ * from: NetBSD: namei.src,v 1.27 2012/10/13 17:46:50 dholland Exp
*/
#ifndef _RUMP_RUMP_NAMEI_H_
@@ -23,9 +23,8 @@
#define RUMP_NAMEI_FOLLOW 0x00000040
#define RUMP_NAMEI_NOFOLLOW 0x00000000
#define RUMP_NAMEI_EMULROOTSET 0x00000080
-#define RUMP_NAMEI_DIDNDAT 0x00000400
#define RUMP_NAMEI_NOCHROOT 0x01000000
-#define RUMP_NAMEI_MODMASK 0x010004fc
+#define RUMP_NAMEI_MODMASK 0x010000fc
#define RUMP_NAMEI_NOCROSSMOUNT 0x0000100
#define RUMP_NAMEI_RDONLY 0x0000200
#define RUMP_NAMEI_ISDOTDOT 0x0002000
diff -r cab447ec1176 -r 3f8ff0cdafa7 sys/sys/namei.h
--- a/sys/sys/namei.h Sat Oct 13 17:46:50 2012 +0000
+++ b/sys/sys/namei.h Sat Oct 13 17:47:11 2012 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: namei.h,v 1.81 2012/10/08 23:44:09 dholland Exp $ */
+/* $NetBSD: namei.h,v 1.82 2012/10/13 17:47:11 dholland Exp $ */
/*
* WARNING: GENERATED FILE. DO NOT EDIT
* (edit namei.src and run make namei in src/sys/sys)
* by: NetBSD: gennameih.awk,v 1.5 2009/12/23 14:17:19 pooka Exp
- * from: NetBSD: namei.src,v 1.26 2012/10/08 23:43:33 dholland Exp
+ * from: NetBSD: namei.src,v 1.27 2012/10/13 17:46:50 dholland Exp
*/
/*
@@ -91,6 +91,7 @@
/*
* Arguments to namei/lookup.
*/
+ struct vnode *ni_startdir; /* starting dir, cwd if null */
struct pathbuf *ni_pathbuf; /* pathname container */
char *ni_pnbuf; /* extra pathname buffer ref (XXX) */
/*
@@ -152,9 +153,8 @@
(pseudo) */
#define EMULROOTSET 0x00000080 /* emulation root already
in ni_erootdir */
-#define DIDNDAT 0x00000400 /* did NDAT() (temporary) */
#define NOCHROOT 0x01000000 /* no chroot on abs path lookups */
-#define MODMASK 0x010004fc /* mask of operational modifiers */
+#define MODMASK 0x010000fc /* mask of operational modifiers */
/*
* Namei parameter descriptors.
*/
@@ -177,6 +177,7 @@
#define NDINIT(ndp, op, flags, pathbuf) { \
(ndp)->ni_cnd.cn_nameiop = op; \
(ndp)->ni_cnd.cn_flags = flags; \
+ (ndp)->ni_startdir = NULL; \
(ndp)->ni_pathbuf = pathbuf; \
(ndp)->ni_cnd.cn_cred = kauth_cred_get(); \
}
@@ -185,8 +186,7 @@
* Use this to set the start directory for openat()-type operations.
*/
#define NDAT(ndp, dir) { \
- (ndp)->ni_cnd.cn_flags |= DIDNDAT; \
- (ndp)->ni_dvp = (dir); \
+ (ndp)->ni_startdir = (dir); \
}
#endif
@@ -321,9 +321,8 @@
#define NAMEI_FOLLOW 0x00000040
#define NAMEI_NOFOLLOW 0x00000000
#define NAMEI_EMULROOTSET 0x00000080
-#define NAMEI_DIDNDAT 0x00000400
#define NAMEI_NOCHROOT 0x01000000
-#define NAMEI_MODMASK 0x010004fc
+#define NAMEI_MODMASK 0x010000fc
#define NAMEI_NOCROSSMOUNT 0x0000100
#define NAMEI_RDONLY 0x0000200
#define NAMEI_ISDOTDOT 0x0002000
Home |
Main Index |
Thread Index |
Old Index