diff --git a/share/man/man9/vfs_suser.9 b/share/man/man9/vfs_suser.9 index 3073afc84829..17a61d6ffec2 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