From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78262C3A5A1 for ; Thu, 22 Aug 2019 20:15:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5382D2339F for ; Thu, 22 Aug 2019 20:15:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732432AbfHVUPY (ORCPT ); Thu, 22 Aug 2019 16:15:24 -0400 Received: from Chamillionaire.breakpoint.cc ([193.142.43.52]:49486 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730203AbfHVUPX (ORCPT ); Thu, 22 Aug 2019 16:15:23 -0400 Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1i0tUO-0006ir-Od; Thu, 22 Aug 2019 22:15:20 +0200 Date: Thu, 22 Aug 2019 22:15:20 +0200 From: Florian Westphal To: Casey Schaufler Cc: Paul Moore , Florian Westphal , netdev@vger.kernel.org, linux-security-module@vger.kernel.org, selinux@vger.kernel.org Subject: Re: New skb extension for use by LSMs (skb "security blob")? Message-ID: <20190822201520.GJ20113@breakpoint.cc> References: <20190822070358.GE20113@breakpoint.cc> <00ab1a3e-fd57-fe42-04fa-d82c1585b360@schaufler-ca.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00ab1a3e-fd57-fe42-04fa-d82c1585b360@schaufler-ca.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org Casey Schaufler wrote: > Given that the original objection to using a skb extension for a > security blob was that an extension is dynamic, and that the ubiquitous > nature of LSM use makes that unreasonable, it would seem that supporting > the security blob as a basic part if the skb would be the obvious and > correct solution. If the normal case is that there is an LSM that would > befit from the native (unextended) support of a blob, it would seem > that that is the case that should be optimized. What is this "blob"? i.e., what would you like to add to sk_buff to make whatever use cases you have in mind work?