Received: by 10.213.65.68 with SMTP id h4csp235837imn; Fri, 30 Mar 2018 19:15:00 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Spb/vBTbFjMkYfUp4/Lo471MobXvCYjDG74eCeFlDMseicwM5c3z0xYEY2IeIxUU/Nrst X-Received: by 10.98.89.200 with SMTP id k69mr993210pfj.100.1522462500526; Fri, 30 Mar 2018 19:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522462500; cv=none; d=google.com; s=arc-20160816; b=d9+KLXySLe6H/luibSNMo5gQuPIte6a0zNY2nM0h0Kwg+ksBi2RGcQCtJvDy3h54Oq dLVZxlLcu7FBRl665gUo1wsT27LERgHV/vzPOgXR4stHa3OR3cM9FNqu7akzPaeApKwS 1N0SsGgjPzH7uFF6VokpjpeJEO08b9aKLWyBHYASFQJp8OFr6y2ir6sOgFGaIY65qY5O yVB5Knet0fnM58t5CwAatWlRtWBZX8VXvAQc8EUPJqRSYp0Qx3SlHewDJWj0l+z+KK+O Y/Et4By7oXT0yvzFVGueZG+ZLPYyTCiSfT9yY03JuNmiWBXizu1ZGapVtgYYo+aAl80b CD7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=M6sciSZ6Vw7JwTkOg4Xh/65xP1g3NITeSz4UworaHFg=; b=sOS2JDc4aNNo2Qa8QTvd5OmL79hqZ3YJ+G8J72WA6k3eQn2LscR0QlDZ+Bcf9LFeji tViPbET81bBk3Wkv+e2v6C3sK/ngoyty+iSpkns3wcpZqL5XqLnAEIFusqm21is6LsGw MYqr2kJWbUTvADYsyRDjFejl2Fc8sRcMkyTZDYG+mZLWTAT8uBkxDD3hxK5jejva45xv hrC6pcBO0pJXDTIVDJepRnezeiadtJTJMexXbw9IsNuXU2SywII1qIY/qZiRI2HzPqXb OhaDqSAyTgoNFtVekYgnhluL1fc7CCMQ3PkXgfZUoNeojVMQTYoCk7loeNeTqq3JRZ7I Ujjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g16si7392622pfd.93.2018.03.30.19.14.46; Fri, 30 Mar 2018 19:15:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752854AbeCaCNl (ORCPT + 99 others); Fri, 30 Mar 2018 22:13:41 -0400 Received: from namei.org ([65.99.196.166]:54632 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752784AbeCaCNk (ORCPT ); Fri, 30 Mar 2018 22:13:40 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id w2V2DM4Z027325; Sat, 31 Mar 2018 02:13:22 GMT Date: Sat, 31 Mar 2018 13:13:22 +1100 (AEDT) From: James Morris To: "Eric W. Biederman" cc: Linux Containers , esyr@redhat.com, jannh@google.com, khlebnikov@yandex-team.ru, linux-api@vger.kernel.org, serge.hallyn@ubuntu.com, linux-kernel@vger.kernel.org, prakash.sangappa@oracle.com, linux-security-module@vger.kernel.org, luto@kernel.org, oleg@redhat.com, akpm@linux-foundation.org, Nagarathnam Muthusamy , Pavel Emelyanov Subject: Re: [REVIEW][PATCH 12/11] ipc: Directly call the security hook in ipc_ops.associate In-Reply-To: <877eq2m3or.fsf_-_@xmission.com> Message-ID: References: <1520875093-18174-1-git-send-email-nagarathnam.muthusamy@oracle.com> <87vadzqqq6.fsf@xmission.com> <990e88fa-ab50-9645-b031-14e1afbf7ccc@oracle.com> <877eqejowd.fsf@xmission.com> <3a46a03d-e4dd-59b6-e25f-0020be1b1dc9@oracle.com> <87a7v2z2qa.fsf@xmission.com> <87vadmobdw.fsf_-_@xmission.com> <877eq2m3or.fsf_-_@xmission.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 24 Mar 2018, Eric W. Biederman wrote: > > After the last round of cleanups the shm, sem, and msg associate > operations just became trivial wrappers around the appropriate security > method. Simplify things further by just calling the security method > directly. > > Signed-off-by: "Eric W. Biederman" Reviewed-by: James Morris -- James Morris