From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f67.google.com ([209.85.161.67]:35726 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726957AbeIVIg1 (ORCPT ); Sat, 22 Sep 2018 04:36:27 -0400 Received: by mail-yw1-f67.google.com with SMTP id 14-v6so5976681ywe.2 for ; Fri, 21 Sep 2018 19:44:39 -0700 (PDT) Received: from mail-yw1-f53.google.com (mail-yw1-f53.google.com. [209.85.161.53]) by smtp.gmail.com with ESMTPSA id 203-v6sm5149130ywv.34.2018.09.21.19.44.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Sep 2018 19:44:35 -0700 (PDT) Received: by mail-yw1-f53.google.com with SMTP id m129-v6so197221ywc.1 for ; Fri, 21 Sep 2018 19:44:35 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <03191752-22d3-4066-3d3a-8fbe209447e5@schaufler-ca.com> References: <03191752-22d3-4066-3d3a-8fbe209447e5@schaufler-ca.com> From: Kees Cook Date: Fri, 21 Sep 2018 19:44:34 -0700 Message-ID: Subject: Re: [PATCH v4 02/19] Smack: Abstract use of cred security blob To: Casey Schaufler Cc: LSM , James Morris , SE Linux , LKLM , John Johansen , Tetsuo Handa , Paul Moore , Stephen Smalley , "linux-fsdevel@vger.kernel.org" , Alexey Dobriyan , =?UTF-8?B?TWlja2HDq2wgU2FsYcO8bg==?= , Salvatore Mesoraca Content-Type: text/plain; charset="UTF-8" Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Sep 21, 2018 at 5:17 PM, Casey Schaufler wrote: > Don't use the cred->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