summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-01-15 02:01:51 +0000
committerrwatson <rwatson@FreeBSD.org>2006-01-15 02:01:51 +0000
commit22ae7554faea2447aef8a59cf3edb78af62236b4 (patch)
tree2ed1e743731dd1ecf3ec9f5991cfa4ea98c7a2f8 /sys
parentef078951d6c5cdaeb8063a72dc0d02834bd46cc0 (diff)
downloadFreeBSD-src-22ae7554faea2447aef8a59cf3edb78af62236b4.zip
FreeBSD-src-22ae7554faea2447aef8a59cf3edb78af62236b4.tar.gz
Rename uid and gid arguments to vaccess() prototype to match vaccess()
implementation in vfs_subr.c. No functional change. MFC after: 3 days
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/vnode.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index d6bd2dd..8469187 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);
OpenPOWER on IntegriCloud