aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/extattr.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2008-10-28 13:44:11 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2008-10-28 13:44:11 +0000
commit15bc6b2bd8d8c56ad74e57675dde8501bc7f53e1 (patch)
treecb5d9bbe34cd6eae2c3dd212bdfdfd85569424dd /sys/sys/extattr.h
parent9215889d21ffb366dda6fcbd62483657769367f2 (diff)
downloadsrc-15bc6b2bd8d8c56ad74e57675dde8501bc7f53e1.tar.gz
src-15bc6b2bd8d8c56ad74e57675dde8501bc7f53e1.zip
Introduce accmode_t. This is required for NFSv4 ACLs - it will be neccessary
to add more V* constants, and the variables changed by this patch were often being assigned to mode_t variables, which is 16 bit. Approved by: rwatson (mentor)
Notes
Notes: svn path=/head/; revision=184413
Diffstat (limited to 'sys/sys/extattr.h')
-rw-r--r--sys/sys/extattr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/extattr.h b/sys/sys/extattr.h
index 4b8ed8254051..6e8b73541a6a 100644
--- a/sys/sys/extattr.h
+++ b/sys/sys/extattr.h
@@ -58,13 +58,14 @@
EXTATTR_NAMESPACE_SYSTEM_STRING }
#ifdef _KERNEL
+#include <sys/types.h>
#define EXTATTR_MAXNAMELEN NAME_MAX
struct thread;
struct ucred;
struct vnode;
int extattr_check_cred(struct vnode *vp, int attrnamespace,
- struct ucred *cred, struct thread *td, int access);
+ struct ucred *cred, struct thread *td, accmode_t accmode);
#else
#include <sys/cdefs.h>