mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-25 19:32:09 +00:00
Allow writev is seccomp sandbox.
This seems to be used by recent glibcs at least in some configurations. From bz#3512, ok djm@
This commit is contained in:
parent
923c3f437f
commit
6283f4bd83
@ -312,6 +312,9 @@ static const struct sock_filter preauth_insns[] = {
|
||||
#ifdef __NR_write
|
||||
SC_ALLOW(__NR_write),
|
||||
#endif
|
||||
#ifdef __NR_writev
|
||||
SC_ALLOW(__NR_writev),
|
||||
#endif
|
||||
#ifdef __NR_socketcall
|
||||
SC_ALLOW_ARG(__NR_socketcall, 0, SYS_SHUTDOWN),
|
||||
SC_DENY(__NR_socketcall, EACCES),
|
||||
|
Loading…
Reference in New Issue
Block a user