Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3780969pxb; Mon, 9 Nov 2020 22:55:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvXFAqLNVK8n/6tCpAzYPSVv0+zdnxBhvKXySF6yG7AXYGrdxrkvVTH0ZulEQSg8vnqBq8 X-Received: by 2002:a17:906:60f:: with SMTP id s15mr19330578ejb.449.1604991320597; Mon, 09 Nov 2020 22:55:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604991320; cv=none; d=google.com; s=arc-20160816; b=AsFWxnWztylixCu+bbW7NQr2K99mM76rWJposH9bYaxp0rk708xXYvGtOTBHi9rgCQ uNNydp46jWIn3kGZYo2I8U2n1Cod5lVimLrgnaEX8RfaZp+xmttu2DvNhnDymmQadw9V yCb2pmB99BIMJbarnxNlQ81AMsIvYF2kplbkTkOSMFbT/1zF+ipSAIuS5sj/ORNbca5x 6O3n+f7MqCKJnBWal37gFGXfYUSQs2oJj+Tla1NgpfkDvWWYCWO0divtEuLMx8FoapMm odOxWJ1EniF3Jk0Am2w+Wf5I9HLJTWRopE2+ysgUu2qpwtydsg6N0cw8PJwbaGXsOmlN /D4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=nziFlqPcFlpqu5sB/6T1lDfNpsIpacpRp+SXDon9ibE=; b=TMlfkzdRPiiTq3aHn6hE8mwa9alw+JukoPm7QXdSU5aK5Z00i25aLyeRS4XV61GE0W 2nxgqhC3s0SKPg3UnYlggxx2yFNKgyDbpswawXsjnu586mh9Gp3Csy3Jr1MyffXBwsHx iqk5HiF41LHbD7ndw4hl50pvl/Lwfr3wOoG+73GmBZ7fFstf1i4ZL5EqrZq2PbFWG7zb E8+d/otK8wxt7lBeJwDQJ6OxN9LS+ZkgpoWwyqZtBBHhBcVnNn3EiGjmdQ1yShP2I7W/ UBPPneJ/pNhIBDk2pXIkQqy+VzzTfCmuvU9/ux0JgDLLA9Zslj/c17cfAdHvTPajlGM/ gjoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p89si9139297edd.109.2020.11.09.22.54.57; Mon, 09 Nov 2020 22:55:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730198AbgKJGxk (ORCPT + 99 others); Tue, 10 Nov 2020 01:53:40 -0500 Received: from namei.org ([65.99.196.166]:39870 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726467AbgKJGxk (ORCPT ); Tue, 10 Nov 2020 01:53:40 -0500 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id 0AA6rBTi009357; Tue, 10 Nov 2020 06:53:11 GMT Date: Tue, 10 Nov 2020 17:53:11 +1100 (AEDT) From: James Morris To: Casey Schaufler , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal cc: casey.schaufler@intel.com, linux-security-module@vger.kernel.org, selinux@vger.kernel.org, Audit-ML , Kees Cook , John Johansen , Tetsuo Handa , Paul Moore , Stephen Smalley , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org Subject: Re: [PATCH v22 05/23] LSM: Use lsmblob in security_secctx_to_secid In-Reply-To: <20201105004924.11651-6-casey@schaufler-ca.com> Message-ID: References: <20201105004924.11651-1-casey@schaufler-ca.com> <20201105004924.11651-6-casey@schaufler-ca.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Nov 2020, Casey Schaufler wrote: > Change the security_secctx_to_secid interface to use a lsmblob > structure in place of the single u32 secid in support of > module stacking. Change its callers to do the same. > > The security module hook is unchanged, still passing back a secid. > The infrastructure passes the correct entry from the lsmblob. > > Signed-off-by: Casey Schaufler > Cc: netdev@vger.kernel.org You probably need to include Netfilter maintainers specifically for this (added them + the Netfilter list). This also needs signoffs from LSM owners. -- James Morris