summaryrefslogtreecommitdiffstats
path: root/share/man/man9
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2015-03-25 09:54:07 +0000
committerdchagin <dchagin@FreeBSD.org>2015-03-25 09:54:07 +0000
commit88a57b90495bbfea2ee8318c44b1444ef3b09ff8 (patch)
treede9aeffc6f274b350c715e9d3e99ee861f90679d /share/man/man9
parentc025e5d37adb74f5dce46d01dc6bca9ec5e795b7 (diff)
downloadFreeBSD-src-88a57b90495bbfea2ee8318c44b1444ef3b09ff8.zip
FreeBSD-src-88a57b90495bbfea2ee8318c44b1444ef3b09ff8.tar.gz
MFC r279776:
Add a cred parameter to the VOP_VPTOCNP(9) manpage. While here fix igor warning about new line.
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/VOP_VPTOCNP.910
1 files changed, 7 insertions, 3 deletions
diff --git a/share/man/man9/VOP_VPTOCNP.9 b/share/man/man9/VOP_VPTOCNP.9
index f2d5ddc..9af9d68 100644
--- a/share/man/man9/VOP_VPTOCNP.9
+++ b/share/man/man9/VOP_VPTOCNP.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 19, 2011
+.Dd March 8, 2015
.Dt VOP_VPTOCNP 9
.Os
.Sh NAME
@@ -36,9 +36,10 @@
.Nd translate a vnode to its component name
.Sh SYNOPSIS
.In sys/param.h
+.In sys/ucred.h
.In sys/vnode.h
.Ft int
-.Fn VOP_VPTOCNP "struct vnode *vp" "struct vnode **dvp" "char *buf" "int *buflen"
+.Fn VOP_VPTOCNP "struct vnode *vp" "struct vnode **dvp" "struct ucred *cred" "char *buf" "int *buflen"
.Sh DESCRIPTION
This translates a vnode into its component name, and writes that name to
the head of the buffer specified by
@@ -49,6 +50,8 @@ The vnode to translate.
.It Fa dvp
The vnode of the parent directory of
.Fa vp .
+.It Fa cred
+The caller credentials.
.It Fa buf
The buffer into which to prepend the component name.
.It Fa buflen
@@ -59,7 +62,8 @@ The default implementation of
.Nm
scans through
.Fa vp Ns 's
-parent directory looking for a dirent with a matching file number. If
+parent directory looking for a dirent with a matching file number.
+If
.Fa vp
is not a directory, then
.Nm
OpenPOWER on IntegriCloud