o Add additional comment describing vaccess() behavior.

Requested by:	eivind
Reviewed by:	eivind, adrian
This commit is contained in:
rwatson 2000-09-20 17:18:12 +00:00
parent 258ce9d2c6
commit 8a56e23d58
2 changed files with 14 additions and 0 deletions

View File

@ -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;

View File

@ -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;