[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170620151549.3380276f@canb.auug.org.au>
Date: Tue, 20 Jun 2017 15:15:49 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Andrew Morton <akpm@...ux-foundation.org>,
Kees Cook <keescook@...omium.org>
Cc: Linux-Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Manfred Spraul <manfred@...orfullife.com>
Subject: linux-next: manual merge of the akpm-current tree with the kspp
tree
Hi all,
Today's linux-next merge of the akpm-current tree got a conflict in:
include/linux/sem.h
between commit:
1a12979f61e4 ("randstruct: Mark various structs for randomization")
from the kspp tree and commit:
337e62a32a54 ("ipc/sem.c: remove sem_base, embed struct sem")
from the akpm-current tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc include/linux/sem.h
index 23bcbdfad4a6,be5cf2ea14ad..000000000000
--- a/include/linux/sem.h
+++ b/include/linux/sem.h
@@@ -21,7 -39,9 +39,9 @@@ struct sem_array
int sem_nsems; /* no. of semaphores in array */
int complex_count; /* pending complex operations */
unsigned int use_global_lock;/* >0: global lock required */
+
+ struct sem sems[];
-};
+} __randomize_layout;
#ifdef CONFIG_SYSVIPC
Powered by blists - more mailing lists