Copyright (c) 2004 Alfred Perlstein
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or o...
(The comments found at the beginning of the groff file "man9/vfs_suser.9freebsd".)
- check if credentials have superuser privileges for a mount point
Fn 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 .