]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
sandbox-seccomp-filter: remove duplicate SC_ALLOW(__NR_clock_gettime64)
authorManfred Kaiser <manfred.kaiser@ssh-mitm.at>
Sun, 24 May 2026 07:53:42 +0000 (09:53 +0200)
committerDamien Miller <djm@mindrot.org>
Sat, 30 May 2026 13:30:12 +0000 (23:30 +1000)
The syscall is already permitted at line 297 in its own ifdef guard.
No functional change.

sandbox-seccomp-filter.c

index 7b2444930d1aef77ac6ac68209776a14f792f9e6..67a8a82aa9106507820df55666416614ce8f7ca6 100644 (file)
@@ -381,9 +381,6 @@ static const struct sock_filter preauth_insns[] = {
 #ifdef __NR_clock_nanosleep_time64
        SC_ALLOW(__NR_clock_nanosleep_time64),
 #endif
-#ifdef __NR_clock_gettime64
-       SC_ALLOW(__NR_clock_gettime64),
-#endif
 #ifdef __NR__newselect
        SC_ALLOW(__NR__newselect),
 #endif