summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-14 10:53:55 +0000
committerru <ru@FreeBSD.org>2005-01-14 10:53:55 +0000
commit2d56795677fcd7c47c69285347643968afa13fd9 (patch)
tree40a7d4fe796ad943cddc662e20313a44d5f4fbe1 /share
parent55782966df70ca2199818ab179cf96ce24cde6e6 (diff)
downloadFreeBSD-src-2d56795677fcd7c47c69285347643968afa13fd9.zip
FreeBSD-src-2d56795677fcd7c47c69285347643968afa13fd9.tar.gz
Markup and grammar fixes.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/vfs_suser.912
1 files changed, 7 insertions, 5 deletions
diff --git a/share/man/man9/vfs_suser.9 b/share/man/man9/vfs_suser.9
index 3073afc..17a61d6 100644
--- a/share/man/man9/vfs_suser.9
+++ b/share/man/man9/vfs_suser.9
@@ -36,20 +36,22 @@
.In sys/systm.h
.In sys/mount.h
.Ft int
-.Fn vfs_suser "struct mount *" "struct thread *td"
+.Fn vfs_suser "struct mount *mp" "struct thread *td"
.Sh DESCRIPTION
The
.Fn vfs_suser
-functions check if the credentials given include superuser powers
-for the given mountpoint. It will check to see if the thread
+function checks if the credentials given include superuser powers
+for the given mountpoint.
+It will check to see if the thread
passed in has the same credentials as the user that mounted the
-filesystem, if so it returns 0, otherwise it returns what
+file system.
+If so, it returns 0, otherwise it returns what
.Xr suser 9
would have returned.
.Sh RETURN VALUES
The
.Fn vfs_suser
-functions return 0 if the user has superuser powers and
+function returns 0 if the user has superuser powers and
.Er EPERM
otherwise.
This is the
OpenPOWER on IntegriCloud