package/ltp-testsuite: proper fix for missing __kernel_fsid_t
PATCH 1/1 package/ltp-testsuite: proper fix for missing __kernel_fsid_t
Backported 3 fixes from upstream (2 of them require calling autoreconf.
Signed-off-by Petr Vorel <[email protected]>
--- ...x-missing-__kernel_fsid_t-definition.patch | 41 ------- ...kernel_fsid_t-definition-to-correct-.patch | 61 ++++++++++ ...work-checks-for-fallback-definitions.patch | 91 +++++++++++++++ ...val-vs.-__val-fanotify_event_info_fi.patch | 108 ++++++++++++++++++ package/ltp-testsuite/ltp-testsuite.mk | 4 + 5 files changed, 264 insertions(+), 41 deletions(-) delete mode 100644 package/ltp-testsuite/0004-fanotify-Fix-missing-__kernel_fsid_t-definition.patch create mode 100644 package/ltp-testsuite/0004-fanotify-Move-__kernel_fsid_t-definition-to-correct-.patch create mode 100644 package/ltp-testsuite/0005-fanotify-Rework-checks-for-fallback-definitions.patch create mode 100644 package/ltp-testsuite/0006-fanotify-Detect-val-vs.-__val-fanotify_event_info_fi.patch
package/ltp-testsuite/0004-fanotify-Fix-missing-__kernel_fsid_t-definition.patch deleted +0 -41
@@ -1,41 +0,0 @@ -From b8aebc83523691be2b37e87c62099d700b0473c7 Mon Sep 17 00:00:00 2001 -From: Petr Vorel <[email protected]> -Date: Mon, 14 Oct 2019 15:35:53 +0200 -Subject: [PATCH] fanotify: Fix missing __kernel_fsid_t definition - -which is needed for fallback definition when FAN_REPORT_FID is missing. -Instead of including <asm/posix_types.h> where it's defined we just -define the missing bit. - -This fixes build error at least on musl. - -Acked-by: Cyril Hrubis <[email protected]> -Acked-by: Jan Stancek <[email protected]> -Suggested-by: Jan Stancek <[email protected]> -Signed-off-by: Petr Vorel <[email protected]> -[Upstream status: b8aebc83523691be2b37e87c62099d700b0473c7] ---- - testcases/kernel/syscalls/fanotify/fanotify.h | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/testcases/kernel/syscalls/fanotify/fanotify.h b/testcases/kernel/syscalls/fanotify/fanotify.h -index 1c7623d3b..435f100d8 100644 ---- a/testcases/kernel/syscalls/fanotify/fanotify.h -+++ b/testcases/kernel/syscalls/fanotify/fanotify.h -@@ -126,6 +126,13 @@ struct fanotify_event_info_header { - }; - - #ifdef HAVE_NAME_TO_HANDLE_AT -+#ifndef __kernel_fsid_t -+typedef struct { -+ int val[2]; -+} lapi_fsid_t; -+#define __kernel_fsid_t lapi_fsid_t -+#endif -+ - struct fanotify_event_info_fid { - struct fanotify_event_info_header hdr; - __kernel_fsid_t fsid; --- -2.23.0 -
package/ltp-testsuite/0004-fanotify-Move-__kernel_fsid_t-definition-to-correct-.patch new file +61 -0
61 lines not on this page · raw message
package/ltp-testsuite/0005-fanotify-Rework-checks-for-fallback-definitions.patch new file +91 -0
91 lines not on this page · raw message
package/ltp-testsuite/0006-fanotify-Detect-val-vs.-__val-fanotify_event_info_fi.patch new file +108 -0
108 lines not on this page · raw message
package/ltp-testsuite/ltp-testsuite.mk +4 -0
@@ -117,4 +117,8 @@ endef LTP_TESTSUITE_POST_PATCH_HOOKS += LTP_TESTSUITE_REMOVE_LDD endif +# 0005-fanotify-Rework-checks-for-fallback-definitions.patch +# 0006-fanotify-Detect-val-vs.-__val-fanotify_event_info_fi.patch +LTP_TESTSUITE_AUTORECONF = YES + $(eval $(autotools-package))
Signature · 1 line
2.24.0
PATCH 1/1 package/ltp-testsuite: proper fix for missing __kernel_fsid_t
Hi,
Quoted 3 lines
Backported 3 fixes from upstream (2 of them require calling autoreconf.
Sorry, this one is invalid.
Kind regards,
Petr