From ea6d62f195c594456aafce9f6757528706ea6de6 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sun, 15 Jan 2006 02:01:51 +0000 Subject: [PATCH] Rename uid and gid arguments to vaccess() prototype to match vaccess() implementation in vfs_subr.c. No functional change. MFC after: 3 days --- sys/sys/vnode.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index d6bd2dd9c9c4..8469187dc344 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -578,8 +578,9 @@ int speedup_syncer(void); vn_fullpath(FIRST_THREAD_IN_PROC(p), (p)->p_textvp, rb, rfb) int vn_fullpath(struct thread *td, struct vnode *vn, char **retbuf, char **freebuf); -int vaccess(enum vtype type, mode_t file_mode, uid_t uid, gid_t gid, - mode_t acc_mode, struct ucred *cred, int *privused); +int vaccess(enum vtype type, mode_t file_mode, uid_t file_uid, + gid_t file_gid, mode_t acc_mode, struct ucred *cred, + int *privused); int vaccess_acl_posix1e(enum vtype type, uid_t file_uid, gid_t file_gid, struct acl *acl, mode_t acc_mode, struct ucred *cred, int *privused);