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 B2DB1C433F5 for ; Thu, 24 Feb 2022 03:46:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645674417; 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=gDGelL5g1g+i6JZ0KiDFsHvUU7jRG0fp2tpgmZWRDpc=; b=idgzON1qB+wwGEzKX64xQYCcuEeFeiC3Cbbq5iooVRfZ3prkrt0zqwzCDlAc4oTwBLKgPI A3QINuOYer3ERIIeLjjQE7oELEcV4VV12QTGqi2Hebxezf10yirRhpUDq6xGNmRDZ9jJVf GH/MXs1WR8JSQArRr6o47AafXuwbEeM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-191-ykdq2YpxOtOraQePqTiubQ-1; Wed, 23 Feb 2022 22:46:54 -0500 X-MC-Unique: ykdq2YpxOtOraQePqTiubQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F3BFE180FD73; Thu, 24 Feb 2022 03:46:49 +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 35B354CECC; Thu, 24 Feb 2022 03:46:49 +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 1776E4ED27; Thu, 24 Feb 2022 03:46:47 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 21O3dZGU024355 for ; Wed, 23 Feb 2022 22:39:35 -0500 Received: by smtp.corp.redhat.com (Postfix) id 2E3CD6ABBC; Thu, 24 Feb 2022 03:39:35 +0000 (UTC) Received: from x2.localnet (unknown [10.22.16.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D65336AB8D; Thu, 24 Feb 2022 03:39:34 +0000 (UTC) From: Steve Grubb To: linux-audit@redhat.com Subject: Re: audit user space build problems Date: Wed, 23 Feb 2022 22:39:33 -0500 Message-ID: <4380845.LvFx2qVVIh@x2> Organization: Red Hat In-Reply-To: <2126549.NgBsaNRSFp@x2> References: <2126549.NgBsaNRSFp@x2> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: linux-audit@redhat.com 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.15 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 Hello, On Monday, February 21, 2022 4:50:22 PM EST Steve Grubb wrote: > A short term fix might be for distros to copy the kernel header into the > lib directory and patch it to restore buf[0];, then change libaudit.c to > include "audit.h" instead of . There may be other > approaches. You can find a patch that solves this here: http://people.redhat.com/sgrubb/files/audit-3.0.8-flex-array-workaround.patch Before applying this patch, the build script needs to copy /usr/include/linux/audit.h to lib/ in the build directory. Cheers, -Steve -- Linux-audit mailing list Linux-audit@redhat.com https://listman.redhat.com/mailman/listinfo/linux-audit