From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 09/11] rpcbind: upgrade 1.2.9 -> 1.3.1
Date: Sun, 13 Sep 2026 21:11:56 +0100 [thread overview]
Message-ID: <20260913201158.687889-9-richard.purdie@linuxfoundation.org> (raw)
In-Reply-To: <20260913201158.687889-1-richard.purdie@linuxfoundation.org>
rpcbind: only free the forward slot if the reply xid matched the request xid
rpcbind: check for null netmask in addrmerge()
rpcbind: restrict RPCBPROC_GETSTAT to loopback callers
rpcbind: fully disable remote calls when --enable-rmtcalls is unset
rpcbind: bound stats lists in rpcbs_getaddr() and rpcbs_rmtcall()
rpcbind: only log failures in check_callit() if connection logging is enabled
rpcinfo: stack buffer overflow in rpcinfo rpcbdump()
rpcbind: fix leak of nconf in main()
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
.../0001-systemd-use-EnvironmentFile.patch | 2 +-
...rpcbind_add_option_to_fix_port_number.patch | 18 +++++++++---------
.../{rpcbind_1.2.9.bb => rpcbind_1.3.1.bb} | 2 +-
3 files changed, 11 insertions(+), 11 deletions(-)
rename meta/recipes-extended/rpcbind/{rpcbind_1.2.9.bb => rpcbind_1.3.1.bb} (96%)
diff --git a/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch b/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch
index 621cc343225..539a492ec75 100644
--- a/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch
+++ b/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch
@@ -1,4 +1,4 @@
-From 43908891b9344054e23a7d9f4d6fc5b34b2406cf Mon Sep 17 00:00:00 2001
+From 69c128f5df9a24a8b05d4d2680361fa7d8711687 Mon Sep 17 00:00:00 2001
From: Stefan Agner <stefan.agner@toradex.com>
Date: Wed, 27 Aug 2025 11:30:48 +0800
Subject: [PATCH] systemd: use EnvironmentFile
diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch b/meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch
index f0a4df04e49..bf07379e4ce 100644
--- a/meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch
+++ b/meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch
@@ -1,4 +1,4 @@
-From fc77df5fed834dd1cffc8c58adb4a13a9b97f5cf Mon Sep 17 00:00:00 2001
+From cfcfb89543b654c128708f81dc18458149398966 Mon Sep 17 00:00:00 2001
From: Roy Li <rongqing.li@windriver.com>
Date: Wed, 27 Aug 2025 11:24:53 +0800
Subject: [PATCH] add option to make users able to use fixed port number
@@ -38,7 +38,7 @@ index 15b70f9..4a6ffbc 100644
.Fl h
option is specified,
diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
-index 6d0d72d..2f10dac 100644
+index 2c007eb..4ea2002 100644
--- a/src/rpcb_svc_com.c
+++ b/src/rpcb_svc_com.c
@@ -49,6 +49,7 @@
@@ -49,7 +49,7 @@ index 6d0d72d..2f10dac 100644
#include <netconfig.h>
#include <errno.h>
#include <syslog.h>
-@@ -499,6 +500,7 @@ xdr_opaque_parms(XDR *xdrs, struct r_rmtcall_args *cap)
+@@ -503,6 +504,7 @@ xdr_opaque_parms(XDR *xdrs, struct r_rmtcall_args *cap)
static struct rmtcallfd_list *rmthead;
static struct rmtcallfd_list *rmttail;
@@ -57,7 +57,7 @@ index 6d0d72d..2f10dac 100644
int
create_rmtcall_fd(struct netconfig *nconf)
-@@ -506,6 +508,8 @@ create_rmtcall_fd(struct netconfig *nconf)
+@@ -510,6 +512,8 @@ create_rmtcall_fd(struct netconfig *nconf)
int fd;
struct rmtcallfd_list *rmt;
SVCXPRT *xprt;
@@ -66,7 +66,7 @@ index 6d0d72d..2f10dac 100644
if ((fd = __rpc_nconf2fd(nconf)) == -1) {
if (debugging)
-@@ -514,6 +518,19 @@ create_rmtcall_fd(struct netconfig *nconf)
+@@ -518,6 +522,19 @@ create_rmtcall_fd(struct netconfig *nconf)
nconf->nc_device, errno);
return (-1);
}
@@ -87,7 +87,7 @@ index 6d0d72d..2f10dac 100644
if (xprt == NULL) {
if (debugging)
diff --git a/src/rpcbind.c b/src/rpcbind.c
-index 4212377..7e7f79d 100644
+index c39df97..f94b813 100644
--- a/src/rpcbind.c
+++ b/src/rpcbind.c
@@ -112,6 +112,7 @@ int runasdaemon = 0;
@@ -98,7 +98,7 @@ index 4212377..7e7f79d 100644
char **hosts = NULL;
int nhosts = 0;
-@@ -963,7 +964,7 @@ parseargs(int argc, char *argv[])
+@@ -964,7 +965,7 @@ parseargs(int argc, char *argv[])
{
int c;
oldstyle_local = 1;
@@ -107,7 +107,7 @@ index 4212377..7e7f79d 100644
switch (c) {
case 'a':
doabort = 1; /* when debugging, do an abort on */
-@@ -981,6 +982,9 @@ parseargs(int argc, char *argv[])
+@@ -982,6 +983,9 @@ parseargs(int argc, char *argv[])
if (hosts[nhosts - 1] == NULL)
errx(1, "Out of memory");
break;
@@ -117,7 +117,7 @@ index 4212377..7e7f79d 100644
case 'i':
insecure = 1;
break;
-@@ -1003,7 +1007,7 @@ parseargs(int argc, char *argv[])
+@@ -1004,7 +1008,7 @@ parseargs(int argc, char *argv[])
break;
#endif
default: /* error */
diff --git a/meta/recipes-extended/rpcbind/rpcbind_1.2.9.bb b/meta/recipes-extended/rpcbind/rpcbind_1.3.1.bb
similarity index 96%
rename from meta/recipes-extended/rpcbind/rpcbind_1.2.9.bb
rename to meta/recipes-extended/rpcbind/rpcbind_1.3.1.bb
index 000ffe37040..bc7330e2942 100644
--- a/meta/recipes-extended/rpcbind/rpcbind_1.2.9.bb
+++ b/meta/recipes-extended/rpcbind/rpcbind_1.3.1.bb
@@ -18,7 +18,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \
file://rpcbind_add_option_to_fix_port_number.patch \
file://0001-systemd-use-EnvironmentFile.patch \
"
-SRC_URI[sha256sum] = "ce5f1a87c566ef0b2897a28f50a75c1dc23fec413a46a7f4183423b6b6aa991b"
+SRC_URI[sha256sum] = "8e551b445f5172f8ef218845af342fb2a2d741b57ce8c777c781a01ea92f92a5"
inherit autotools update-rc.d systemd pkgconfig update-alternatives sourceforge-releases
next prev parent reply other threads:[~2026-09-13 20:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-13 20:11 [PATCH 01/11] gn: upgrade to latest revision Richard Purdie
2026-09-13 20:11 ` [PATCH 02/11] libgcrypt: upgrade 1.12.3 -> 1.12.4 Richard Purdie
2026-09-13 20:11 ` [PATCH 03/11] liburcu: upgrade 0.15.6 -> 0.15.7 Richard Purdie
2026-09-13 20:11 ` [PATCH 04/11] piglit: upgrade to latest revision Richard Purdie
2026-09-13 20:11 ` [PATCH 05/11] python3-meson-python: upgrade 0.21.0 -> 0.21.1 Richard Purdie
2026-09-13 20:11 ` [PATCH 06/11] sbom-cve-check-update-{nvd-native,cvelist-native}: upgrade 2026.08.25 -> 2026.09.12 Richard Purdie
2026-09-13 20:11 ` [PATCH 07/11] shaderc: upgrade 2026.3 -> 2026.4 Richard Purdie
2026-09-13 20:11 ` [PATCH 08/11] libportal: upgrade 0.10.0 -> 0.11.0 Richard Purdie
2026-09-13 20:11 ` Richard Purdie [this message]
2026-09-13 20:11 ` [PATCH 10/11] gtk4: upgrade 4.22.4 -> 4.22.5 Richard Purdie
2026-09-13 20:11 ` [PATCH 11/11] python3-uv-build: upgrade 0.12.12 -> 0.12.13 Richard Purdie
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=20260913201158.687889-9-richard.purdie@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--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