Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
9435d1ee90 |
23
dhcpcd-RHEL-72083.patch
Normal file
23
dhcpcd-RHEL-72083.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
commit e9e40400003db2e4f12dba85acabbaf2212a520f
|
||||||
|
Author: Scott Shambarger <devel@shambarger.net>
|
||||||
|
Date: Sat Dec 7 16:37:28 2024 +0000
|
||||||
|
|
||||||
|
linux: Allow the __NR_rt_sigprocmask syscall
|
||||||
|
|
||||||
|
Fixes recent glibc changes to getrandom() used by arc4random().
|
||||||
|
Fixes #421.
|
||||||
|
|
||||||
|
diff --git a/src/privsep-linux.c b/src/privsep-linux.c
|
||||||
|
index a40f2979238ee127..36a85c8d47a77674 100644
|
||||||
|
--- a/src/privsep-linux.c
|
||||||
|
+++ b/src/privsep-linux.c
|
||||||
|
@@ -409,6 +409,9 @@ static struct sock_filter ps_seccomp_filter[] = {
|
||||||
|
#ifdef __NR_recvmsg
|
||||||
|
SECCOMP_ALLOW(__NR_recvmsg),
|
||||||
|
#endif
|
||||||
|
+#ifdef __NR_rt_sigprocmask
|
||||||
|
+ SECCOMP_ALLOW(__NR_rt_sigprocmask),
|
||||||
|
+#endif
|
||||||
|
#ifdef __NR_rt_sigreturn
|
||||||
|
SECCOMP_ALLOW(__NR_rt_sigreturn),
|
||||||
|
#endif
|
@ -14,6 +14,7 @@ Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xa785ed2755955d9
|
|||||||
Source3: %{name}.service
|
Source3: %{name}.service
|
||||||
Source4: %{name}@.service
|
Source4: %{name}@.service
|
||||||
Source5: systemd-sysusers.conf
|
Source5: systemd-sysusers.conf
|
||||||
|
Patch1: dhcpcd-RHEL-72083.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
|
Loading…
Reference in New Issue
Block a user