diff options
| -rw-r--r-- | meta/recipes-connectivity/dhcpcd/dhcpcd_10.1.0.bb | 1 | ||||
| -rw-r--r-- | meta/recipes-connectivity/dhcpcd/files/0001-linux-Allow-the-__NR_rt_sigprocmask-syscall.patch | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_10.1.0.bb b/meta/recipes-connectivity/dhcpcd/dhcpcd_10.1.0.bb index 3f806bb187..99b72852bf 100644 --- a/meta/recipes-connectivity/dhcpcd/dhcpcd_10.1.0.bb +++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_10.1.0.bb | |||
| @@ -15,6 +15,7 @@ SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=ma | |||
| 15 | file://dhcpcd.service \ | 15 | file://dhcpcd.service \ |
| 16 | file://dhcpcd@.service \ | 16 | file://dhcpcd@.service \ |
| 17 | file://0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch \ | 17 | file://0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch \ |
| 18 | file://0001-linux-Allow-the-__NR_rt_sigprocmask-syscall.patch \ | ||
| 18 | " | 19 | " |
| 19 | 20 | ||
| 20 | SRCREV = "57c3506a5622e199cf0e3fc1ef26a71cdedc9521" | 21 | SRCREV = "57c3506a5622e199cf0e3fc1ef26a71cdedc9521" |
diff --git a/meta/recipes-connectivity/dhcpcd/files/0001-linux-Allow-the-__NR_rt_sigprocmask-syscall.patch b/meta/recipes-connectivity/dhcpcd/files/0001-linux-Allow-the-__NR_rt_sigprocmask-syscall.patch new file mode 100644 index 0000000000..7058330165 --- /dev/null +++ b/meta/recipes-connectivity/dhcpcd/files/0001-linux-Allow-the-__NR_rt_sigprocmask-syscall.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From e9e40400003db2e4f12dba85acabbaf2212a520f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Scott Shambarger <devel@shambarger.net> | ||
| 3 | Date: Sat, 7 Dec 2024 16:37:28 +0000 | ||
| 4 | Subject: [PATCH] linux: Allow the __NR_rt_sigprocmask syscall | ||
| 5 | |||
| 6 | Fixes recent glibc changes to getrandom() used by arc4random(). | ||
| 7 | Fixes #421. | ||
| 8 | |||
| 9 | Upstream-Status: Backport | ||
| 10 | See details in https://github.com/NetworkConfiguration/dhcpcd/issues/421 | ||
| 11 | |||
| 12 | Signed-off-by: Scott Shambarger <devel@shambarger.net> | ||
| 13 | --- | ||
| 14 | src/privsep-linux.c | 3 +++ | ||
| 15 | 1 file changed, 3 insertions(+) | ||
| 16 | |||
| 17 | diff --git a/src/privsep-linux.c b/src/privsep-linux.c | ||
| 18 | index 8357904c9c9a..e3485a2efdfc 100644 | ||
| 19 | --- a/src/privsep-linux.c | ||
| 20 | +++ b/src/privsep-linux.c | ||
| 21 | @@ -409,6 +409,9 @@ static struct sock_filter ps_seccomp_filter[] = { | ||
| 22 | #ifdef __NR_recvmsg | ||
| 23 | SECCOMP_ALLOW(__NR_recvmsg), | ||
| 24 | #endif | ||
| 25 | +#ifdef __NR_rt_sigprocmask | ||
| 26 | + SECCOMP_ALLOW(__NR_rt_sigprocmask), | ||
| 27 | +#endif | ||
| 28 | #ifdef __NR_rt_sigreturn | ||
| 29 | SECCOMP_ALLOW(__NR_rt_sigreturn), | ||
| 30 | #endif | ||
