aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-08-05 09:27:03 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-08-05 09:27:03 +0000
commitd292b1940c9cc327810627c486cbcfa7e12ce8ad (patch)
tree13bd3168e6624f0173ae245e9929e1e0697f00ce /sys/sys/vnode.h
parent2b86f9d6d013a9ad8b1f8d03286018e785d5b3f6 (diff)
downloadsrc-d292b1940c9cc327810627c486cbcfa7e12ce8ad.tar.gz
src-d292b1940c9cc327810627c486cbcfa7e12ce8ad.zip
vfs: remove the obsolete privused argument from vaccess
This brings argument count down to 6, which is passable without the stack on amd64.
Notes
Notes: svn path=/head/; revision=363893
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 398fb088d7f1..5d9e3496d12e 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -667,16 +667,14 @@ int vn_commname(struct vnode *vn, char *buf, u_int buflen);
int vn_path_to_global_path(struct thread *td, struct vnode *vp,
char *path, u_int pathlen);
int vaccess(enum vtype type, mode_t file_mode, uid_t file_uid,
- gid_t file_gid, accmode_t accmode, struct ucred *cred,
- int *privused);
+ gid_t file_gid, accmode_t accmode, struct ucred *cred);
int vaccess_vexec_smr(mode_t file_mode, uid_t file_uid, gid_t file_gid,
struct ucred *cred);
int vaccess_acl_nfs4(enum vtype type, uid_t file_uid, gid_t file_gid,
- struct acl *aclp, accmode_t accmode, struct ucred *cred,
- int *privused);
+ struct acl *aclp, accmode_t accmode, struct ucred *cred);
int vaccess_acl_posix1e(enum vtype type, uid_t file_uid,
gid_t file_gid, struct acl *acl, accmode_t accmode,
- struct ucred *cred, int *privused);
+ struct ucred *cred);
void vattr_null(struct vattr *vap);
int vcount(struct vnode *vp);
void vlazy(struct vnode *);