]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/OpenSSH-8.2p1_glibc-2.31_clock_nanosleep_time64.patch
Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-3.x into next
[ipfire-2.x.git] / src / patches / OpenSSH-8.2p1_glibc-2.31_clock_nanosleep_time64.patch
CommitLineData
b14b37ba
AF
1diff -Naur openssh-8.2p1.org/sandbox-seccomp-filter.c openssh-8.2p1/sandbox-seccomp-filter.c
2--- openssh-8.2p1.org/sandbox-seccomp-filter.c 2020-04-10 18:14:56.152309584 +0200
3+++ openssh-8.2p1/sandbox-seccomp-filter.c 2020-04-10 21:05:45.827921765 +0200
4@@ -253,6 +253,9 @@
5 #endif
6 #ifdef __NR_clock_nanosleep_time64
7 SC_ALLOW(__NR_clock_nanosleep_time64),
8+#else
9+ /* on i586 glibc call syscall 407 which is not defined */
10+ SC_ALLOW(407),
11 #endif
12 #ifdef __NR_clock_gettime64
13 SC_ALLOW(__NR_clock_gettime64),