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 5BADBC76186 for ; Wed, 17 Jul 2019 04:36:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D16E1208C0 for ; Wed, 17 Jul 2019 04:36:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725873AbfGQEgy (ORCPT ); Wed, 17 Jul 2019 00:36:54 -0400 Received: from namei.org ([65.99.196.166]:35644 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725799AbfGQEgy (ORCPT ); Wed, 17 Jul 2019 00:36:54 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x6H4akJr002791; Wed, 17 Jul 2019 04:36:46 GMT Date: Wed, 17 Jul 2019 14:36:46 +1000 (AEST) From: James Morris To: Paul Moore cc: Steve Grubb , Casey Schaufler , Richard Guy Briggs , "linux-audit@redhat.com" , Linux Security Module list Subject: Re: Preferred subj= with multiple LSMs In-Reply-To: Message-ID: References: <2517266.eHZzEmjMsX@x2> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: On Tue, 16 Jul 2019, Paul Moore wrote: > The subj_X approach is still backwards compatible, the difference is > that old versions of the tools get a "?" for the LSM creds which is a > rather sane way of indicating something is different. This will still break existing userspace, right? We can't do that. > Once again, I believe that the subj_X approach is going to be faster > than safely parsing the multiplexed format. What about emitting one audit record for each LSM? -- James Morris