From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f66.google.com ([209.85.161.66]:40471 "EHLO mail-yw1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726382AbeIMFbc (ORCPT ); Thu, 13 Sep 2018 01:31:32 -0400 Received: by mail-yw1-f66.google.com with SMTP id z143-v6so468272ywa.7 for ; Wed, 12 Sep 2018 17:24:35 -0700 (PDT) Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com. [209.85.219.179]) by smtp.gmail.com with ESMTPSA id m39-v6sm814467ywh.65.2018.09.12.17.24.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Sep 2018 17:24:32 -0700 (PDT) Received: by mail-yb1-f179.google.com with SMTP id o17-v6so2576841yba.2 for ; Wed, 12 Sep 2018 17:24:32 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <70b7f8cf-bfb1-1ec3-e4d4-5d2da632b52b@schaufler-ca.com> References: <70b7f8cf-bfb1-1ec3-e4d4-5d2da632b52b@schaufler-ca.com> From: Kees Cook Date: Wed, 12 Sep 2018 17:24:31 -0700 Message-ID: Subject: Re: [PATCH 08/10] Smack: 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 Reviewed-by: Kees Cook -Kees -- Kees Cook Pixel Security