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 9B496C46467 for ; Mon, 16 Jan 2023 18:28:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673893703; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=nrCYIrEShw26ehDcFUkUWfP+a2WmixLUjeVXJg+Xz4Y=; b=FgSpd2CIIYKSCXaDR9N1S6Fv2M+JQ/pE2dGRV8Kd6hcxx1f5M7dj1asEAuFG5X7qJKTRkY fbyGvSHi2/A+h0avA681Hpn9uDReWBG4YCm3epF/b6rqurI0D52BthxqxbWk2g5KoA98U5 vvKWWAumWH2GhEvXMpXbZSpPWBzyGak= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-377-bxnEk0EPNHGKdBc7PUIMRA-1; Mon, 16 Jan 2023 13:28:20 -0500 X-MC-Unique: bxnEk0EPNHGKdBc7PUIMRA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4590B858F0E; Mon, 16 Jan 2023 18:28:18 +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 1AE6C1121314; Mon, 16 Jan 2023 18:28:17 +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 E55ED194658C; Mon, 16 Jan 2023 18:28:16 +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 CE5FA1946589 for ; Mon, 16 Jan 2023 18:28:15 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 672E94010D46; Mon, 16 Jan 2023 18:28:15 +0000 (UTC) Received: from x2.localnet (unknown [10.22.33.187]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2F83740C6EC4; Mon, 16 Jan 2023 18:28:15 +0000 (UTC) From: Steve Grubb To: Linux-audit@redhat.com, linux-audit@redhat.com Subject: Re: Difference between BITMAP_EXECUTABLE_PATH and BITMAP_EXCLUDE_EXTEND flags Date: Mon, 16 Jan 2023 13:28:14 -0500 Message-ID: <2405286.jE0xQCEvom@x2> Organization: Red Hat In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 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: , Errors-To: linux-audit-bounces@redhat.com Sender: "Linux-audit" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Monday, January 16, 2023 11:15:46 AM EST Avtansh Gupta wrote: > Hello All, > > Please could you help me understand the difference between the following > flags which are being used? > > AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH This ^^^ means the kernel supports -F exe= in the rules. https://listman.redhat.com/archives/linux-audit/2015-August/010585.html > AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND This ^^^ means that the exclude filter supports many more kinds of fields than the original design allowed for. https://listman.redhat.com/archives/linux-audit/2016-June/011433.html For upstream kernels and ones derived after it was release, the second implies the first one is already included. -Steve -- Linux-audit mailing list Linux-audit@redhat.com https://listman.redhat.com/mailman/listinfo/linux-audit