aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/_types.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/_types.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/_types.h')
-rw-r--r--sys/sys/_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index bee2ccad0896..d71cdb094e1a 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -47,6 +47,7 @@ typedef __uint32_t __ino_t; /* inode number */
typedef long __key_t; /* IPC key (for Sys V IPC) */
typedef __int32_t __lwpid_t; /* Thread ID (a.k.a. LWP) */
typedef __uint16_t __mode_t; /* permissions */
+typedef int __accmode_t; /* access permissions */
typedef int __nl_item;
typedef __uint16_t __nlink_t; /* link count */
typedef __int64_t __off_t; /* file offset */