Skip to contentSkip to conversation

musl: Add MAX_HANDLE_SZ

PATCH In review Khem Raj 2 participants 2 messages Sep 13, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 musl: Add MAX_HANDLE_SZ

---
 .../musl/musl/0001-Define-MAX_HANDLE_SZ.patch | 29 +++++++++++++++++++
 meta/recipes-core/musl/musl_git.bb            |  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 meta/recipes-core/musl/musl/0001-Define-MAX_HANDLE_SZ.patch
meta/recipes-core/musl/musl/0001-Define-MAX_HANDLE_SZ.patch new file +29 -0
new file mode 100644
index 0000000000..b1217723a3
@@ -0,0 +1,29 @@
+From e2e723cfe96ce6ed6558ed7e8fbb44b2283297da Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Thu, 13 Sep 2018 06:57:28 -0700
+Subject: [PATCH] Define MAX_HANDLE_SZ
+
+MAX_HANDLE_SZ is described in name_to_handle_at() to contain maximum
+expected size for a file handle
+
+Upstream-Status: Submitted [https://www.openwall.com/lists/musl/2018/09/13/16]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ include/fcntl.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/fcntl.h b/include/fcntl.h
+index 5c3defcb..6a8b6d49 100644
+--- a/include/fcntl.h
++++ b/include/fcntl.h
+@@ -166,6 +166,7 @@ struct f_owner_ex {
+ };
+ #define FALLOC_FL_KEEP_SIZE 1
+ #define FALLOC_FL_PUNCH_HOLE 2
++#define MAX_HANDLE_SZ 128
+ #define SYNC_FILE_RANGE_WAIT_BEFORE 1
+ #define SYNC_FILE_RANGE_WRITE 2
+ #define SYNC_FILE_RANGE_WAIT_AFTER 4
+-- 
+2.19.0
+
meta/recipes-core/musl/musl_git.bb +1 -0
index f6edf7de61..be31718e3a 100644
@@ -12,6 +12,7 @@ PV = "1.1.20+git${SRCPV}"
 SRC_URI = "git://git.musl-libc.org/musl \
            file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \
            file://0001-wireup-linux-name_to_handle_at-and-name_to_handle_at.patch \
+           file://0001-Define-MAX_HANDLE_SZ.patch \
           "
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.19.0
#1 lore raw

✗ patchtest: failure for musl: Add MAX_HANDLE_SZ

== Series Details ==

Series: musl: Add MAX_HANDLE_SZ
Revision: 1
URL : https://patchwork.openembedded.org/series/14067/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at 325af0f4a8)

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe