about summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
authorLiubov Dmitrieva <liubov.dmitrieva@intel.com>2012-12-17 13:44:21 +0400
committerLiubov Dmitrieva <ldmitrie@sourceware.org>2013-10-23 19:07:35 +0400
commitf1079a9d27c2c91206f707f4e6b332752cba39d2 (patch)
tree94442a144caaa60e6087da8758a499a9031bffaa /io
parent1ad69ea0d84ca18e834146032178d827ce928729 (diff)
downloadglibc-f1079a9d27c2c91206f707f4e6b332752cba39d2.tar.gz
glibc-f1079a9d27c2c91206f707f4e6b332752cba39d2.tar.xz
glibc-f1079a9d27c2c91206f707f4e6b332752cba39d2.zip
Add attribute __bnd_variable_size to make using flexible size arrays Intel MPX complient.
Diffstat (limited to 'io')
-rw-r--r--io/fts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/fts.h b/io/fts.h
index 0a070ba8dc..93f94f8875 100644
--- a/io/fts.h
+++ b/io/fts.h
@@ -116,7 +116,7 @@ typedef struct _ftsent {
 	u_short fts_instr;		/* fts_set() instructions */
 
 	struct stat *fts_statp;		/* stat(2) information */
-	char fts_name[1];		/* file name */
+	char fts_name[1] __attribute__((bnd_variable_size));		/* file name */
 } FTSENT;
 
 __BEGIN_DECLS