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=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 01960C43461 for ; Sun, 6 Sep 2020 03:31:02 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 61B1020782 for ; Sun, 6 Sep 2020 03:31:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 61B1020782 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=paul-moore.com Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=linux-audit-bounces@redhat.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-198-l31ayakQPKGqXv_pM83ePw-1; Sat, 05 Sep 2020 23:30:57 -0400 X-MC-Unique: l31ayakQPKGqXv_pM83ePw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 74D601005E5F; Sun, 6 Sep 2020 03:30:54 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 30F3A7A1F4; Sun, 6 Sep 2020 03:30:54 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id CDB9D972F0; Sun, 6 Sep 2020 03:30:53 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0863Upjs026419 for ; Sat, 5 Sep 2020 23:30:51 -0400 Received: by smtp.corp.redhat.com (Postfix) id 730732157F25; Sun, 6 Sep 2020 03:30:51 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6E1B32157F23 for ; Sun, 6 Sep 2020 03:30:48 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CF07E856DF1 for ; Sun, 6 Sep 2020 03:30:48 +0000 (UTC) Received: from mail-ed1-f65.google.com (mail-ed1-f65.google.com [209.85.208.65]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-498-h1BOdAM3PxmO7AFwkUPRyQ-1; Sat, 05 Sep 2020 23:30:46 -0400 X-MC-Unique: h1BOdAM3PxmO7AFwkUPRyQ-1 Received: by mail-ed1-f65.google.com with SMTP id c10so9492532edk.6 for ; Sat, 05 Sep 2020 20:30:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6wHPPkaxeVFFOMr8d/2od9ySdonpQKZ/DXTg8kyqTpY=; b=YcNc2GY5wB2Bdu6MjpRiRvQXBYJQxyZgn9PP8/AjxjT1fr0xBefXZ5KamQgJh4G309 NGGLbkxYB2ApTj4GTbejxrhkrIARTjRtS10Tt/yJJpZamBMarwpjAkCh5td0kpc2Xyt8 O7Bj1Y3aZJvRQACwSI0CdQxZgyOiFN2HPajfWqra5Uk9fUnbWTh1krCqUjgTEwN6IznA ifpxrxl4MPSyqIRc1PTSiCKT8uCpeoMcid8l3FOt045aZoE7ENd3Qx5vh+uihBiBXMOr zeSNpLS8W7bPb6v/dYsDw0aACEVddXyvnOBW8uBgPICKvr0eTbxddCyhFcWbIOKesi2q OS8g== X-Gm-Message-State: AOAM530OKivpCV2UVaLMexqr0U3i4j5ErYcEaCz7XHoatib6g7Mb/boL GAsiHBH3GoJGcIPcDFbJbC946bXrDWijXnU+fHNi8j1/Aw== X-Google-Smtp-Source: ABdhPJzVAMR+sYipg/mqKopXx4XD3m78OLyZOYpqhPzK5b9xqhrEJrZoytomjyX1EExMN6zZkGauipOAmeRGRvpBsmQ= X-Received: by 2002:aa7:de8f:: with SMTP id j15mr15381707edv.135.1599363045145; Sat, 05 Sep 2020 20:30:45 -0700 (PDT) MIME-Version: 1.0 References: <20200826145247.10029-1-casey@schaufler-ca.com> <20200826145247.10029-20-casey@schaufler-ca.com> In-Reply-To: <20200826145247.10029-20-casey@schaufler-ca.com> From: Paul Moore Date: Sat, 5 Sep 2020 23:30:34 -0400 Message-ID: Subject: Re: [PATCH v20 19/23] LSM: Verify LSM display sanity in binder To: Casey Schaufler X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false; X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: linux-audit@redhat.com Cc: john.johansen@canonical.com, selinux@vger.kernel.org, James Morris , linux-security-module@vger.kernel.org, linux-audit@redhat.com, casey.schaufler@intel.com, Stephen Smalley X-BeenThere: linux-audit@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Linux Audit Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=linux-audit-bounces@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, Aug 26, 2020 at 11:22 AM Casey Schaufler wrote: > > Verify that the tasks on the ends of a binder transaction > use the same "display" security module. This prevents confusion > of security "contexts". > > Reviewed-by: Kees Cook > Acked-by: Stephen Smalley > Signed-off-by: Casey Schaufler > --- > security/security.c | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) Acked-by: Paul Moore -- paul moore www.paul-moore.com -- Linux-audit mailing list Linux-audit@redhat.com https://www.redhat.com/mailman/listinfo/linux-audit