Manual Reference Pages - VFS_SUSER (9)
- check if credentials have superuser privileges for a mount point
vfs_suser struct mount *mp struct thread *td
function checks if the credentials given include superuser powers
for the given mount point.
It will check to see if the thread
passed in has the same credentials as the user that mounted the
If so, it returns 0, otherwise it returns what
would have returned.
function returns 0 if the user has superuser powers and
This is the
of some other implementations of
in which a TRUE response indicates superuser powers.
function was introduced in
.Fx 5.2 .
This manual page was written by
.An Alfred Perlstein .
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.