e5594f7239
dhcpcd includes privsep-linux.c which contains platform-specific definitions for the seccomp fixes. A lot of our architectures were not supported yet in the 9.4.0 release, but are supported now thanks to Fabrice Fontaine. Cherry-pick those patches. All of them affect the same code, but they are cherry-picked individually to keep the correspondence with upstream. Slight adjustments had to be made but there were no merge conflicts. Fixes: - http://autobuild.buildroot.org/results/9ed863b3ba5e6e0587a48e619395e5bdb7e9c557 - http://autobuild.buildroot.org/results/affd2f094084c4f53a324830539d07050b83587e - http://autobuild.buildroot.org/results/67f39606054930d307ddd0eb7743f06316d41544 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
28 lines
862 B
Diff
28 lines
862 B
Diff
From 59f67be640881eaf56cc30c304362af00523ff5d Mon Sep 17 00:00:00 2001
|
|
From: Roy Marples <roy@marples.name>
|
|
Date: Sun, 31 Jan 2021 10:08:11 +0000
|
|
Subject: [PATCH] Typo with prior
|
|
|
|
(cherry picked from commit d8d7f68001db3f084dfbb6e5b8ea4491088b55ba)
|
|
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
|
|
---
|
|
src/privsep-linux.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/privsep-linux.c b/src/privsep-linux.c
|
|
index 04950ed2..1660447c 100644
|
|
--- a/src/privsep-linux.c
|
|
+++ b/src/privsep-linux.c
|
|
@@ -185,7 +185,7 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg)
|
|
#elif defined(__nds32__)
|
|
# if (BYTE_ORDER == LITTLE_ENDIAN)
|
|
# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_NDS32
|
|
-#ele
|
|
+#else
|
|
# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_NDS32BE
|
|
#endif
|
|
#elif defined(__powerpc64__)
|
|
--
|
|
2.29.2
|
|
|