svn commit: r254479 - head/sys/sys
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sun Aug 18 09:45:53 UTC 2013
Author: pjd
Date: Sun Aug 18 09:45:52 2013
New Revision: 254479
URL: http://svnweb.freebsd.org/changeset/base/254479
Log:
Better organize the filecaps structure, which reduces its size from 32 bytes
to 24 bytes on 64bit archs.
Modified:
head/sys/sys/filedesc.h
Modified: head/sys/sys/filedesc.h
==============================================================================
--- head/sys/sys/filedesc.h Sun Aug 18 08:24:58 2013 (r254478)
+++ head/sys/sys/filedesc.h Sun Aug 18 09:45:52 2013 (r254479)
@@ -43,9 +43,9 @@
struct filecaps {
cap_rights_t fc_rights; /* per-descriptor capability rights */
- uint32_t fc_fcntls; /* per-descriptor allowed fcntls */
u_long *fc_ioctls; /* per-descriptor allowed ioctls */
int16_t fc_nioctls; /* fc_ioctls array size */
+ uint32_t fc_fcntls; /* per-descriptor allowed fcntls */
};
struct filedescent {
More information about the svn-src-all
mailing list