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 <linux/audit.h>. 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 [email protected] https://listman.redhat.com/mailman/listinfo/linux-audit
