mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-26 15:24:47 +02:00
Allow (but return EACCES) fstatat64 in sandbox.
This is apparently used in some configurations of OpenSSL when glibc has getrandom(). bz#3276, patch from Kris Karas, ok djm@
This commit is contained in:
parent
1cd67ee15c
commit
82fef71e20
@ -154,6 +154,9 @@ static const struct sock_filter preauth_insns[] = {
|
|||||||
#ifdef __NR_fstat64
|
#ifdef __NR_fstat64
|
||||||
SC_DENY(__NR_fstat64, EACCES),
|
SC_DENY(__NR_fstat64, EACCES),
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __NR_fstatat64
|
||||||
|
SC_DENY(__NR_fstatat64, EACCES),
|
||||||
|
#endif
|
||||||
#ifdef __NR_open
|
#ifdef __NR_open
|
||||||
SC_DENY(__NR_open, EACCES),
|
SC_DENY(__NR_open, EACCES),
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user