Markup and grammar fixes.

This commit is contained in:
Ruslan Ermilov 2005-01-14 10:53:55 +00:00
parent e47b4a138a
commit d7b6d54b15

View File

@ -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