Merge branch 'work.ipc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[muen/linux.git] / include / linux / sem.h
index 867f86f1a20b3850952d3b18fca62c88b6dc0ed0..0083128318f6da53dc1d29cecb3145096bd22a9a 100644 (file)
@@ -42,7 +42,7 @@ struct sem_array {
        unsigned int            use_global_lock;/* >0: global lock required */
 
        struct sem              sems[];
        unsigned int            use_global_lock;/* >0: global lock required */
 
        struct sem              sems[];
-};
+} __randomize_layout;
 
 #ifdef CONFIG_SYSVIPC
 
 
 #ifdef CONFIG_SYSVIPC