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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 E6923C433C1 for ; Mon, 22 Mar 2021 19:30:00 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2B16961993 for ; Mon, 22 Mar 2021 19:30:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2B16961993 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-255-icO_x9PcN86jRhmRv8qiog-1; Mon, 22 Mar 2021 15:29:56 -0400 X-MC-Unique: icO_x9PcN86jRhmRv8qiog-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 927AE10866A0; Mon, 22 Mar 2021 19:29:52 +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 42AFF60C0F; Mon, 22 Mar 2021 19:29:52 +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 58BD34BB7C; Mon, 22 Mar 2021 19:29:51 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 12MJTmIW031676 for ; Mon, 22 Mar 2021 15:29:49 -0400 Received: by smtp.corp.redhat.com (Postfix) id A30561134CC2; Mon, 22 Mar 2021 19:29:48 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9DED11134CC9 for ; Mon, 22 Mar 2021 19:29:45 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BC7CD101A531 for ; Mon, 22 Mar 2021 19:29:45 +0000 (UTC) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-163-EiTIEzioMPSB0MR4zRZFBA-1; Mon, 22 Mar 2021 15:29:43 -0400 X-MC-Unique: EiTIEzioMPSB0MR4zRZFBA-1 Received: by mail-ed1-f52.google.com with SMTP id dm8so20808703edb.2 for ; Mon, 22 Mar 2021 12:29:43 -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=y5r8vrk0RmFcttAb72LWQcbklz+HCMJrxiDMKZwe4wg=; b=kT5HeinVcUkX03ZeevyAZvIFMgo+Sojxs1LMrmqKvokHJmfeCmdaMEpxzTb5H48wvN 5eKkjF51RvacrB3eYXY7ATNM7H2+SKWdmw44/Yba6q28p0nMseH4e6dyf60J6tHYcl0x n9B57S+apKeScmuK6/pA24RbvSm3UUo8HnAgjWPr5jt8Z1oKN9BXsRYgjCooXnxHdeHM F0aUL9TvL1joPzHR5i6w0NTTEDkzrkhZNNrBoXSn6c7cXPs1Qu1CaLS4tujXOhRwRM/s aQ0rXDHwIJCs9AKmlJApIu9jq80/cfnYUy98dioux5IqAQiZQju8cGm69Tqe3nobgztS Najg== X-Gm-Message-State: AOAM531axt16Z0QsTo5XpLwMiCJPZS0rCjlOibQ0Aa6ViE0qiIO6Z0Qv tsXK7QaToZRbFzRcMmn4c3k4KYN1LpyA3PJTNuvZ X-Google-Smtp-Source: ABdhPJzGU/T9xoph1YWbf4mgQ+693uVmIILpwh/6TNc6el91BsI8BWGqoAEachuvH9/dsXb8UJ6Y+Polb/dHCDpGtRw= X-Received: by 2002:aa7:db4f:: with SMTP id n15mr1227097edt.12.1616441382025; Mon, 22 Mar 2021 12:29:42 -0700 (PDT) MIME-Version: 1.0 References: <161609713992.55424.6906498317563652734.stgit@olly> In-Reply-To: <161609713992.55424.6906498317563652734.stgit@olly> From: Paul Moore Date: Mon, 22 Mar 2021 15:29:31 -0400 Message-ID: Subject: Re: [PATCH v2 0/3] Split security_task_getsecid() into subj and obj variants To: linux-security-module@vger.kernel.org, linux-audit@redhat.com, selinux@vger.kernel.org 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.3 X-loop: linux-audit@redhat.com Cc: Richard Guy Briggs , John Johansen 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.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=linux-audit-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Thu, Mar 18, 2021 at 4:42 PM Paul Moore wrote: > > An update on the previous RFC patchset found here: > > https://lore.kernel.org/linux-security-module/161377712068.87807.12246856567527156637.stgit@sifl/ > > Aside from being rebased to the current SELinux next branch (which > in turn is based on v5.12-rc2), this revision changes the binder > related code to always use the objective credentials as discussed > in the thread above. I've also dropped the AppArmor patch as John > has a better version in progress; in the meantime AppArmor should > continue to work exactly as it did before this patchset so there > is no harm in merging this without the AppArmor patch. > > Casey, John, and Richard; I dropped your ACKs, Reviewed-by, etc. > tags as the binder changes seemed substantial enough to not > carryover your tags. I would appreciate it if you could re-review > this revision; the changes should be minimal. I did leave Mimi's > tag on this revision as she qualified it for IMA and that code > didn't change. > > --- > > Paul Moore (3): > lsm: separate security_task_getsecid() into subjective and objective variants > selinux: clarify task subjective and objective credentials > smack: differentiate between subjective and objective task credentials > > > security/selinux/hooks.c | 112 ++++++++++++++++++++++++------------- > security/smack/smack.h | 18 +++++- > security/smack/smack_lsm.c | 40 ++++++++----- > 3 files changed, 117 insertions(+), 53 deletions(-) All three patches have been merged into selinux/next, thanks for the help/review everyone! -- paul moore www.paul-moore.com -- Linux-audit mailing list Linux-audit@redhat.com https://listman.redhat.com/mailman/listinfo/linux-audit