From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-f194.google.com ([209.85.219.194]:41306 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725786AbeIVIsQ (ORCPT ); Sat, 22 Sep 2018 04:48:16 -0400 Received: by mail-yb1-f194.google.com with SMTP id d14-v6so1173401ybs.8 for ; Fri, 21 Sep 2018 19:56:25 -0700 (PDT) Received: from mail-yw1-f49.google.com (mail-yw1-f49.google.com. [209.85.161.49]) by smtp.gmail.com with ESMTPSA id b135-v6sm10622715ywh.24.2018.09.21.19.56.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Sep 2018 19:56:22 -0700 (PDT) Received: by mail-yw1-f49.google.com with SMTP id x67-v6so5992027ywg.0 for ; Fri, 21 Sep 2018 19:56:21 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Kees Cook Date: Fri, 21 Sep 2018 19:56:20 -0700 Message-ID: Subject: Re: [PATCH v4 15/19] LSM: Infrastructure management of the task security 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:19 PM, Casey Schaufler wrote: > Move management of the task_struct->security blob out > of the individual security modules and into the security > infrastructure. Instead of allocating the blobs from within > the modules the modules tell the infrastructure how much > space is required, and the space is allocated there. > The only user of this blob is AppArmor. The AppArmor use > is abstracted to avoid future conflict. > > Signed-off-by: Casey Schaufler Reviewed-by: Kees Cook -Kees -- Kees Cook Pixel Security