From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] musl: Add MAX_HANDLE_SZ
Date: Thu, 13 Sep 2018 07:04:26 -0700 [thread overview]
Message-ID: <20180913140426.13202-1-raj.khem@gmail.com> (raw)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../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
diff --git a/meta/recipes-core/musl/musl/0001-Define-MAX_HANDLE_SZ.patch b/meta/recipes-core/musl/musl/0001-Define-MAX_HANDLE_SZ.patch
new file mode 100644
index 0000000000..b1217723a3
--- /dev/null
+++ b/meta/recipes-core/musl/musl/0001-Define-MAX_HANDLE_SZ.patch
@@ -0,0 +1,29 @@
+From e2e723cfe96ce6ed6558ed7e8fbb44b2283297da Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+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 <raj.khem@gmail.com>
+---
+ 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
+
diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb
index f6edf7de61..be31718e3a 100644
--- a/meta/recipes-core/musl/musl_git.bb
+++ b/meta/recipes-core/musl/musl_git.bb
@@ -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"
--
2.19.0
next reply other threads:[~2018-09-13 14:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-13 14:04 Khem Raj [this message]
2018-09-13 14:32 ` ✗ patchtest: failure for musl: Add MAX_HANDLE_SZ Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180913140426.13202-1-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox