forked from pool/vsftpd
7d2364c704
Import patches from SLE-15-SP2. OBS-URL: https://build.opensuse.org/request/show/950535 OBS-URL: https://build.opensuse.org/package/show/network/vsftpd?expand=0&rev=153
15 lines
484 B
Diff
15 lines
484 B
Diff
Broker has to wait for its child.
|
|
|
|
Index: vsftpd-3.0.2/seccompsandbox.c
|
|
===================================================================
|
|
--- vsftpd-3.0.2.orig/seccompsandbox.c
|
|
+++ vsftpd-3.0.2/seccompsandbox.c
|
|
@@ -540,6 +540,7 @@ seccomp_sandbox_setup_postlogin_broker()
|
|
seccomp_sandbox_setup_base();
|
|
seccomp_sandbox_setup_data_connections();
|
|
allow_nr_1_arg_match(__NR_sendmsg, 3, 0);
|
|
+ allow_nr(__NR_wait4);
|
|
if (tunable_chown_uploads)
|
|
{
|
|
allow_nr(__NR_fstat);
|