[Git][NTPsec/ntpsec][master] ntpd/ntp_sandbox.c: allow rseq for glibc-2.35 in seccomp filter
Matt Selsky (@selsky)
gitlab at mg.gitlab.com
Thu Apr 7 03:19:32 UTC 2022
Matt Selsky pushed to branch master at NTPsec / ntpsec
Commits:
75970342 by Sam James at 2022-04-07T03:02:41+01:00
ntpd/ntp_sandbox.c: allow rseq for glibc-2.35 in seccomp filter
Fixes: https://gitlab.com/NTPsec/ntpsec/-/issues/728
Bug: https://bugs.gentoo.org/833274
Signed-off-by: Sam James <sam at gentoo.org>
- - - - -
1 changed file:
- ntpd/ntp_sandbox.c
Changes:
=====================================
ntpd/ntp_sandbox.c
=====================================
@@ -366,6 +366,9 @@ int scmp_sc[] = {
SCMP_SYS(rt_sigaction),
SCMP_SYS(rt_sigprocmask),
SCMP_SYS(rt_sigreturn),
+#ifdef __NR_rseq
+ SCMP_SYS(rseq), /* needed by glibc-2.35+ for resumable sequences */
+#endif
SCMP_SYS(sigaction),
SCMP_SYS(sigprocmask),
SCMP_SYS(sigreturn),
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/75970342391b0b1fad422e6ca3dc89dd76dcf607
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/75970342391b0b1fad422e6ca3dc89dd76dcf607
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20220407/59ef66c4/attachment.htm>
More information about the vc
mailing list