Markup and grammar fixes.
This commit is contained in:
parent
e47b4a138a
commit
d7b6d54b15
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user