Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 These two man pages contain complete cut and ...
details: https://anonhg.NetBSD.org/src/rev/16884403b6e8
branches: trunk
changeset: 782543:16884403b6e8
user: dholland <dholland%NetBSD.org@localhost>
date: Mon Nov 05 17:30:37 2012 +0000
description:
These two man pages contain complete cut and paste copies of struct
componentname and/or struct nameidata. Update the copies, for both
today's changes and a number of earlier changes too.
diffstat:
share/man/man9/namei.9 | 21 ++++++++++-----------
share/man/man9/vnodeops.9 | 4 +---
2 files changed, 11 insertions(+), 14 deletions(-)
diffs (75 lines):
diff -r 83355b5b9192 -r 16884403b6e8 share/man/man9/namei.9
--- a/share/man/man9/namei.9 Mon Nov 05 17:28:53 2012 +0000
+++ b/share/man/man9/namei.9 Mon Nov 05 17:30:37 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: namei.9,v 1.27 2010/12/02 12:54:13 wiz Exp $
+.\" $NetBSD: namei.9,v 1.28 2012/11/05 17:30:37 dholland Exp $
.\"
.\" Copyright (c) 2001, 2005, 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -85,8 +85,9 @@
/*
* Arguments to namei/lookup.
*/
- const char *ni_dirp; /* pathname pointer */
- enum uio_seg ni_segflg; /* location of pathname */
+ struct vnode *ni_startdir; /* starting dir, cwd if null */
+ struct pathbuf *ni_pathbuf; /* pathname container */
+ char *ni_pnbuf; /* extra pathname buffer ref (XXX) */
/*
* Arguments to lookup.
*/
@@ -100,9 +101,9 @@
/*
* Shared between namei and lookup/commit routines.
*/
- size_t ni_pathlen; /* remaining chars in path */
+ size_t ni_pathlen; /* remaining chars in path */
const char *ni_next; /* next location in pathname */
- u_long ni_loopcnt; /* count of symlinks encountered */
+ unsigned int ni_loopcnt; /* count of symlinks encountered */
/*
* Lookup parameters
*/
@@ -110,17 +111,15 @@
/*
* Arguments to lookup.
*/
- u_long cn_nameiop; /* namei operation */
- u_long cn_flags; /* flags to namei */
+ uint32_t cn_nameiop; /* namei operation */
+ uint32_t cn_flags; /* flags to namei */
kauth_cred_t cn_cred; /* credentials */
/*
* Shared between lookup and commit routines.
*/
- char *cn_pnbuf; /* pathname buffer */
const char *cn_nameptr; /* pointer to looked up name */
- long cn_namelen; /* length of looked up component */
- u_long cn_hash; /* hash value of looked up name */
- long cn_consume; /* chars to consume in lookup() */
+ size_t cn_namelen; /* length of looked up component */
+ size_t cn_consume; /* chars to consume in lookup() */
} ni_cnd;
};
.Ed
diff -r 83355b5b9192 -r 16884403b6e8 share/man/man9/vnodeops.9
--- a/share/man/man9/vnodeops.9 Mon Nov 05 17:28:53 2012 +0000
+++ b/share/man/man9/vnodeops.9 Mon Nov 05 17:30:37 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: vnodeops.9,v 1.87 2012/10/01 20:49:30 wiz Exp $
+.\" $NetBSD: vnodeops.9,v 1.88 2012/11/05 17:30:37 dholland Exp $
.\"
.\" Copyright (c) 2001, 2005, 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -297,10 +297,8 @@
/*
* Shared between lookup and commit routines.
*/
- char *cn_pnbuf; /* pathname buffer */
const char *cn_nameptr; /* pointer to looked up name */
size_t cn_namelen; /* length of looked up component */
- u_long cn_hash; /* hash value of looked up name */
size_t cn_consume; /* chars to consume in lookup() */
};
.Ed
Home |
Main Index |
Thread Index |
Old Index