diff options
author | Adam Duskett <Aduskett@gmail.com> | 2016-07-15 13:46:01 -0400 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-15 20:34:44 +0200 |
commit | 51925b7dd6d0cebaabb38389e3120476af0a500d (patch) | |
tree | 63ec2df0252a8ec3b75100f5a4e1f801c47005a4 /package/audit/0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch | |
parent | d925b39a4082a17cd8c7711eb942488da66ec33f (diff) | |
download | buildroot-51925b7dd6d0cebaabb38389e3120476af0a500d.tar.gz buildroot-51925b7dd6d0cebaabb38389e3120476af0a500d.zip |
package/audit: Bump to version 2.6.5
- Removed 0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch
as this was applied upstream.
- Removed 0002-Fix-usage-of-audit_status.feature_bitmap.patch as this was
applied upstream.
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/audit/0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch')
-rw-r--r-- | package/audit/0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/package/audit/0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch b/package/audit/0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch deleted file mode 100644 index 8880d6c12c..0000000000 --- a/package/audit/0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch +++ /dev/null @@ -1,44 +0,0 @@ -From ac10cdedd136689028223088ffca80b98c7bbaff Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> -Date: Sat, 2 Jul 2016 10:33:34 +0200 -Subject: [PATCH] lib/gen_tables.c: define EHWPOISON when not available - -When building on some old system with old kernel headers, the -gen_tables.c program (built natively) doesn't build due to missing -EHWPOISON. This commit defines EHWPOISON to the value found in -asm-generic kernel headers, which is correct for most (but not all -architectures). - -Anyway, the whole concept of building a program on the host to generate -a table with errno values, then built into a target program is -inherently broken, so our fix is not more broken than the rest of the -mechanism used by audit. - -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---- - lib/gen_tables.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/lib/gen_tables.c b/lib/gen_tables.c -index 98f576c..d0bb7f5 100644 ---- a/lib/gen_tables.c -+++ b/lib/gen_tables.c -@@ -55,6 +55,15 @@ - #define SHMGET 23 - #define SHMCTL 24 - -+/* -+ * Values from asm-generic, might be different on other architectures, -+ * but anyway the concept of building a program on the host to -+ * generate errno related tables used on another architecture is -+ * broken. -+ */ -+#ifndef EHWPOISON -+#define EHWPOISON 133 -+#endif - - /* The ratio of table size to number of non-empty elements allowed for a - "direct" s2i table; if the ratio would be bigger, bsearch tables are used --- -2.7.4 - |