diff options
author | Sam James <sam@gentoo.org> | 2021-06-10 21:09:31 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-10 21:09:31 +0000 |
commit | a87107cfff01e74e3519624360dbd72a60a1fdd9 (patch) | |
tree | 7d821b048a3f2d38b8a07bfcb63fcbba2e013af3 /net-misc/ntpsec/files | |
parent | sys-fs/static-dev: fix ROOT check for EAPI 7 (diff) | |
download | gentoo-a87107cfff01e74e3519624360dbd72a60a1fdd9.tar.gz gentoo-a87107cfff01e74e3519624360dbd72a60a1fdd9.tar.bz2 gentoo-a87107cfff01e74e3519624360dbd72a60a1fdd9.zip |
net-misc/ntpsec: add seccomp patch from upstream
Closes: https://bugs.gentoo.org/786228
Closes: https://bugs.gentoo.org/705128
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/ntpsec/files')
-rw-r--r-- | net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch b/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch new file mode 100644 index 000000000000..e4dc47f19cc6 --- /dev/null +++ b/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/705128 +--- a/ntpd/ntp_sandbox.c ++++ b/ntpd/ntp_sandbox.c +@@ -463,6 +463,15 @@ int scmp_sc[] = { + SCMP_SYS(send), + SCMP_SYS(stat64), + #endif ++#if defined(__arm__) ++ SCMP_SYS(statx), ++#endif ++#if defined(__riscv32__) ++ SCMP_SYS(faccessat), ++#endif ++#if defined(__aarch64__) ++ SCMP_SYS(syscall); ++#endif + }; + { + for (unsigned int i = 0; i < COUNTOF(scmp_sc); i++) { |