o Add additional comment describing vaccess() behavior.
Requested by: eivind Reviewed by: eivind, adrian
This commit is contained in:
parent
258ce9d2c6
commit
8a56e23d58
@ -2931,6 +2931,13 @@ NDFREE(ndp, flags)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Common file system object access control check routine. Accepts a
|
||||
* vnode's type, "mode", uid and gid, requested access mode, credentials,
|
||||
* and optional call-by-reference privused argument allowing vaccess()
|
||||
* to indicate to the caller whether privilege was used to satisfy the
|
||||
* request. Returns 0 on success, or an errno on failure.
|
||||
*/
|
||||
int
|
||||
vaccess(type, file_mode, file_uid, file_gid, acc_mode, cred, privused)
|
||||
enum vtype type;
|
||||
|
@ -2931,6 +2931,13 @@ NDFREE(ndp, flags)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Common file system object access control check routine. Accepts a
|
||||
* vnode's type, "mode", uid and gid, requested access mode, credentials,
|
||||
* and optional call-by-reference privused argument allowing vaccess()
|
||||
* to indicate to the caller whether privilege was used to satisfy the
|
||||
* request. Returns 0 on success, or an errno on failure.
|
||||
*/
|
||||
int
|
||||
vaccess(type, file_mode, file_uid, file_gid, acc_mode, cred, privused)
|
||||
enum vtype type;
|
||||
|
Loading…
x
Reference in New Issue
Block a user