2023-01-16 11:36:24 +08:00
|
|
|
commit 0d31f225faef8da3fcd0f69f6544aa274102fe53
|
|
|
|
|
Author: Steve Grubb <sgrubb@redhat.com>
|
|
|
|
|
Date: Wed Feb 23 14:24:50 2022 -0500
|
|
|
|
|
Subject: workaround a kernel change that breaks the build
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
bindings/swig/src.auditswig.i | 2 +-
|
|
|
|
|
lib/libaudit.h | 2 +-
|
2023-07-20 21:21:10 +08:00
|
|
|
2 files changed, 2 insertions(+)m 2 deletions(-)
|
2023-01-16 11:36:24 +08:00
|
|
|
|
|
|
|
|
diff --git a/bindings/swig/src/auditswig.i b/bindings/swig/src/auditswig.i
|
|
|
|
|
--- a/bindings/swig/src/auditswig.i
|
|
|
|
|
+++ b/bindings/swig/src/auditswig.i
|
|
|
|
|
@@ -39,7 +39,7 @@ signed
|
|
|
|
|
#define __attribute(X) /*nothing*/
|
|
|
|
|
typedef unsigned __u32;
|
|
|
|
|
typedef unsigned uid_t;
|
|
|
|
|
-%include "/usr/include/linux/audit.h"
|
|
|
|
|
+%include "../lib/audit.h"
|
|
|
|
|
#define __extension__ /*nothing*/
|
|
|
|
|
%include <stdint.i>
|
|
|
|
|
%include "../lib/libaudit.h"
|
|
|
|
|
diff --git a/lib/libaudit.h b/lib/libaudit.h
|
|
|
|
|
--- a/lib/libaudit.h
|
|
|
|
|
+++ b/lib/libaudit.h
|
2023-02-02 15:28:32 +08:00
|
|
|
@@ -27,7 +27,7 @@
|
2023-01-16 11:36:24 +08:00
|
|
|
#include <stdint.h>
|
|
|
|
|
#include <sys/socket.h>
|
|
|
|
|
#include <linux/netlink.h>
|
|
|
|
|
-#include <linux/audit.h>
|
|
|
|
|
+#include "audit.h"
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
#include <syslog.h>
|
2023-02-02 15:28:32 +08:00
|
|
|
#ifndef __attr_access
|