mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-25 23:05:21 +02:00
seccomp: Allow clock_gettime64() in sandbox.
This helps sshd accept connections on mips platforms with upcoming glibc ( 2.31 )
This commit is contained in:
parent
3cc60c899a
commit
b110cefdfb
@ -248,6 +248,9 @@ static const struct sock_filter preauth_insns[] = {
|
|||||||
#ifdef __NR_clock_nanosleep_time64
|
#ifdef __NR_clock_nanosleep_time64
|
||||||
SC_ALLOW(__NR_clock_nanosleep_time64),
|
SC_ALLOW(__NR_clock_nanosleep_time64),
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __NR_clock_gettime64
|
||||||
|
SC_ALLOW(__NR_clock_gettime64),
|
||||||
|
#endif
|
||||||
#ifdef __NR__newselect
|
#ifdef __NR__newselect
|
||||||
SC_ALLOW(__NR__newselect),
|
SC_ALLOW(__NR__newselect),
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user