From 15bc6b2bd8d8c56ad74e57675dde8501bc7f53e1 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Tue, 28 Oct 2008 13:44:11 +0000 Subject: 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) --- sys/sys/_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/sys/_types.h') 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 */ -- cgit v1.2.3