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 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E0A13ECAAD3 for ; Fri, 9 Sep 2022 14:55:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662735348; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=pBf2FkGopQ880n1LEcWXaJMQCm4quKQ/UKzN8jg5sg0=; b=H0pEDwZ9O5+YPCzcE38ro/yhbvIugTvHOSiiTPLTQsIA4eLNqkKhd1rSRgO060OICe+LKl v87G9N8U66QUhXqitkq21rhydrkvAL2PAOBXyV5FkZxqVf5kxLqo/V45KTRGRdQHdbpcu9 8tK34DWdrNIiwNZ1BuS4BPdYZlpYH78= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-331-FDOopwrVNp2jBojfZJUaWg-1; Fri, 09 Sep 2022 10:55:45 -0400 X-MC-Unique: FDOopwrVNp2jBojfZJUaWg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D679E1C05EB3; Fri, 9 Sep 2022 14:55:43 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4E706945D0; Fri, 9 Sep 2022 14:55:42 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 380291946A42; Fri, 9 Sep 2022 14:55:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A21061946A41 for ; Fri, 9 Sep 2022 14:55:41 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 5704F40D296D; Fri, 9 Sep 2022 14:55:41 +0000 (UTC) Received: from x2.localnet (unknown [10.22.9.245]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EC6D240D296C; Fri, 9 Sep 2022 14:55:40 +0000 (UTC) From: Steve Grubb To: Richard Guy Briggs Subject: Re: [PATCH v4 3/4] fanotify, audit: Allow audit to use the full permission event response Date: Fri, 09 Sep 2022 10:55:40 -0400 Message-ID: <13104070.uLZWGnKmhe@x2> Organization: Red Hat In-Reply-To: References: <4748798.GXAFRqVoOG@x2> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-BeenThere: linux-audit@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Audit Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jan Kara , Amir Goldstein , LKML , Linux-Audit Mailing List , linux-fsdevel@vger.kernel.org, Eric Paris Errors-To: linux-audit-bounces@redhat.com Sender: "Linux-audit" X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Friday, September 9, 2022 10:38:46 AM EDT Richard Guy Briggs wrote: > > Richard, add subj_trust and obj_trust. These can be 0|1|2 for no, yes, > > unknown. > > type? bitfield? My gut would say that "0" should be "unset"/"unknown", > but that is counterintuitive to the values represented. > > Or "trust" with sub-fields "subj" and "obj"? No. just make them separate and u32. subj_trust and obj_trust - no sub fields. If we have sub-fields, that probably means bit mapping and that wasn't wanted. -Steve -- Linux-audit mailing list Linux-audit@redhat.com https://listman.redhat.com/mailman/listinfo/linux-audit