summaryrefslogtreecommitdiffstats
path: root/sandbox-seccomp-filter.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-11-13 13:27:31 +0100
committerDarren Tucker <dtucker@dtucker.net>2019-11-13 13:27:31 +0100
commit546274a6f89489d2e6be8a8b62f2bb63c87a61fd (patch)
treee70394ca9a11691a4355bea4b7e10d1b6305f87b /sandbox-seccomp-filter.c
parentseccomp: Allow clock_nanosleep() in sandbox. (diff)
downloadopenssh-546274a6f89489d2e6be8a8b62f2bb63c87a61fd.tar.xz
openssh-546274a6f89489d2e6be8a8b62f2bb63c87a61fd.zip
Remove duplicate __NR_clock_nanosleep
Diffstat (limited to 'sandbox-seccomp-filter.c')
-rw-r--r--sandbox-seccomp-filter.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index 96ab141f7..be2397671 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -245,9 +245,6 @@ static const struct sock_filter preauth_insns[] = {
#ifdef __NR_clock_nanosleep
SC_ALLOW(__NR_clock_nanosleep),
#endif
-#ifdef __NR_clock_nanosleep
- SC_ALLOW(__NR_clock_nanosleep),
-#endif
#ifdef __NR__newselect
SC_ALLOW(__NR__newselect),
#endif