37 lines
1.4 KiB
Diff
37 lines
1.4 KiB
Diff
|
diff -urp audit-3.0.8.orig/bindings/swig/src/auditswig.i audit-3.0.8/bindings/swig/src/auditswig.i
|
||
|
--- audit-3.0.8.orig/bindings/swig/src/auditswig.i 2021-08-21 10:15:51.000000000 -0400
|
||
|
+++ audit-3.0.8/bindings/swig/src/auditswig.i 2022-02-23 14:19:18.389777267 -0500
|
||
|
@@ -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 -urp audit-3.0.8.orig/lib/audit.h audit-3.0.8/lib/audit.h
|
||
|
--- audit-3.0.8.orig/lib/audit.h 2022-02-23 13:35:24.915815547 -0500
|
||
|
+++ audit-3.0.8/lib/audit.h 2022-02-23 13:34:46.356475888 -0500
|
||
|
@@ -514,7 +514,7 @@ struct audit_rule_data {
|
||
|
__u32 values[AUDIT_MAX_FIELDS];
|
||
|
__u32 fieldflags[AUDIT_MAX_FIELDS];
|
||
|
__u32 buflen; /* total length of string fields */
|
||
|
- char buf[]; /* string fields buffer */
|
||
|
+ char buf[0]; /* string fields buffer */
|
||
|
};
|
||
|
|
||
|
#endif /* _LINUX_AUDIT_H_ */
|
||
|
diff -urp audit-3.0.8.orig/lib/libaudit.h audit-3.0.8/lib/libaudit.h
|
||
|
--- audit-3.0.8.orig/lib/libaudit.h 2022-02-14 14:14:08.000000000 -0500
|
||
|
+++ audit-3.0.8/lib/libaudit.h 2022-02-23 13:35:52.638340789 -0500
|
||
|
@@ -39,7 +39,7 @@ extern "C" {
|
||
|
#include <stdint.h>
|
||
|
#include <sys/socket.h>
|
||
|
#include <linux/netlink.h>
|
||
|
-#include <linux/audit.h>
|
||
|
+#include "audit.h"
|
||
|
#include <stdarg.h>
|
||
|
#include <syslog.h>
|
||
|
|