From: John Hodge Date: Mon, 24 Oct 2011 01:18:46 +0000 (+0800) Subject: Kernel - Made tFInfo packed to fix size mismatches between user and kernel land X-Git-Tag: rel0.14~201 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=b7553e30c636f469ddceacbe541620cdab2dc433;p=tpg%2Facess2.git Kernel - Made tFInfo packed to fix size mismatches between user and kernel land --- diff --git a/Kernel/include/vfs_ext.h b/Kernel/include/vfs_ext.h index e8cd2420..d7d74c40 100644 --- a/Kernel/include/vfs_ext.h +++ b/Kernel/include/vfs_ext.h @@ -118,7 +118,7 @@ typedef struct sVFS_ACL unsigned Inv: 1; //!< Invert Permissions unsigned Perms: 31; //!< Permission Flags }; -} tVFS_ACL; +} tVFS_ACL; /** * \brief SYS_FINFO structure @@ -136,7 +136,7 @@ typedef struct sFInfo Sint64 ctime; //!< Creation time Sint32 numacls; //!< Total number of ACL entries tVFS_ACL acls[]; //!< ACL buffer (size is passed in the \a MaxACLs argument to VFS_FInfo) -} tFInfo; +} PACKED tFInfo; /** * \brief fd_set for select()