From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946675AbdEZB4k (ORCPT ); Thu, 25 May 2017 21:56:40 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33224 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933116AbdEZB4i (ORCPT ); Thu, 25 May 2017 21:56:38 -0400 Subject: Re: [PATCH 0/20 V3] Misc cleanups for ipc To: Kees Cook Cc: Michael Kerrisk , Andrew Morton , LKML , 1vier1@web.de, Davidlohr Bueso , Ingo Molnar , Peter Zijlstra , Fabian Frederick References: <20170508222345.GA52073@beast> <20170525185107.12869-1-manfred@colorfullife.com> From: Manfred Spraul Message-ID: <48999048-ee2c-cd3f-6980-668617a3d9e4@colorfullife.com> Date: Fri, 26 May 2017 03:56:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 the memset() to avoid crashing with SEM_UNDO. >> - Use rcu for every security_xx_free(), even if ipc_addid() was not >> successful > This all looks great (excepting the accidental hunk migration). I like > the change to use call_rcu(), though I still think it's overkill. ;) I still don't see the hunk migration. What I wanted to do was to merge a fix for the wrong memset into "[PATCH 02/20] ipc: merge ipc_rcu and kern_ipc_perm" -- Manfred