]> git.pld-linux.org Git - packages/chrony.git/blobdiff - fix-seccomp-build.patch
- fix "status" in initscript (don't wait for sleep to finish)
[packages/chrony.git] / fix-seccomp-build.patch
index 6888e7efeb7272a41cbc35ece3691731fda69b9d..0c624385a0b28bcf2de355f893e72c5cc2b18609 100644 (file)
@@ -1,13 +1,11 @@
-diff --git a/sys_linux.c b/sys_linux.c
-index 898dc7a7f75..fcd334ecf03 100644
---- a/sys_linux.c
-+++ b/sys_linux.c
-@@ -503,7 +503,7 @@ SYS_Linux_EnableSystemCallFilter(int level)
-     SCMP_SYS(socketcall),
-     /* General I/O */
-     SCMP_SYS(_newselect), SCMP_SYS(close), SCMP_SYS(open), SCMP_SYS(openat), SCMP_SYS(pipe),
--    SCMP_SYS(pipe2), SCMP_SYS(poll), SCMP_SYS(ppoll), SCMP_SYS(pselect6), SCMP_SYS(read),
-+    SCMP_SYS(pipe2), SCMP_SYS(poll), SCMP_SYS(pselect6), SCMP_SYS(read),
-     SCMP_SYS(futex), SCMP_SYS(select), SCMP_SYS(set_robust_list), SCMP_SYS(write),
-     /* Miscellaneous */
-     SCMP_SYS(getrandom), SCMP_SYS(sysinfo), SCMP_SYS(uname),
+diff -ur chrony-4.1.orig/sys_linux.c chrony-4.1/sys_linux.c
+--- chrony-4.1.orig/sys_linux.c        2021-05-12 13:06:15.000000000 +0200
++++ chrony-4.1/sys_linux.c     2021-09-18 13:01:17.378223193 +0200
+@@ -591,7 +591,6 @@
+     SCMP_SYS(pipe),
+     SCMP_SYS(pipe2),
+     SCMP_SYS(poll),
+-    SCMP_SYS(ppoll),
+ #ifdef __NR_ppoll_time64
+     SCMP_SYS(ppoll_time64),
+ #endif
This page took 0.090019 seconds and 4 git commands to generate.