From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f65.google.com ([209.85.161.65]:35527 "EHLO mail-yw1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726204AbeIMFal (ORCPT ); Thu, 13 Sep 2018 01:30:41 -0400 Received: by mail-yw1-f65.google.com with SMTP id 14-v6so469020ywe.2 for ; Wed, 12 Sep 2018 17:23:44 -0700 (PDT) Received: from mail-yw1-f45.google.com (mail-yw1-f45.google.com. [209.85.161.45]) by smtp.gmail.com with ESMTPSA id c126-v6sm2684073ywa.104.2018.09.12.17.23.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Sep 2018 17:23:40 -0700 (PDT) Received: by mail-yw1-f45.google.com with SMTP id j131-v6so468099ywc.13 for ; Wed, 12 Sep 2018 17:23:40 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1aa12afc-2e1e-2e89-d422-a471990e0367@schaufler-ca.com> References: <1aa12afc-2e1e-2e89-d422-a471990e0367@schaufler-ca.com> From: Kees Cook Date: Wed, 12 Sep 2018 17:23:39 -0700 Message-ID: Subject: Re: [PATCH 07/10] SELinux: Abstract use of inode security blob To: Casey Schaufler Cc: LSM , James Morris , LKLM , SE Linux , John Johansen , Tetsuo Handa , Paul Moore , Stephen Smalley , "linux-fsdevel@vger.kernel.org" , Alexey Dobriyan , "Schaufler, Casey" Content-Type: text/plain; charset="UTF-8" Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Sep 11, 2018 at 9:42 AM, Casey Schaufler wrote: > Don't use the inode->i_security pointer directly. > Provide a helper function that provides the security blob pointer. > > Signed-off-by: Casey Schaufler Happily mechanical! :) Reviewed-by: Kees Cook -Kees -- Kees Cook Pixel Security