Re: [PATCH 0/20 V3] Misc cleanups for ipc

2017-05-25 Thread Manfred Spraul
Hi Kees, On 05/25/2017 09:45 PM, Kees Cook wrote: On Thu, May 25, 2017 at 11:50 AM, Manfred Spraul wrote: Hi all, Updated series. The series got longer, because I merged all patches from Kees. Main changes are: - sems[] instead of sem[0]. - Immediately use BUILD_BUG_ON() - Immediately move t

Re: [PATCH 0/20 V3] Misc cleanups for ipc

2017-05-25 Thread Kees Cook
On Thu, May 25, 2017 at 11:50 AM, Manfred Spraul wrote: > Hi all, > > Updated series. The series got longer, because I merged all patches > from Kees. > > Main changes are: > - sems[] instead of sem[0]. > - Immediately use BUILD_BUG_ON() > - Immediately move the memset() to avoid crashing with SEM

[PATCH 0/20 V3] Misc cleanups for ipc

2017-05-25 Thread Manfred Spraul
Hi all, Updated series. The series got longer, because I merged all patches from Kees. Main changes are: - sems[] instead of sem[0]. - Immediately use BUILD_BUG_ON() - Immediately move the memset() to avoid crashing with SEM_UNDO. - Use rcu for every security_xx_free(), even if ipc_addid() was no