Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
vsftpd.19316
vsftpd-3.0.2-fix-chown-uploads.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vsftpd-3.0.2-fix-chown-uploads.patch of Package vsftpd.19316
Index: vsftpd-3.0.2/seccompsandbox.c =================================================================== --- vsftpd-3.0.2.orig/seccompsandbox.c +++ vsftpd-3.0.2/seccompsandbox.c @@ -475,6 +475,10 @@ seccomp_sandbox_setup_postlogin(const st /* Need to send file descriptors to privileged broker. */ allow_nr_1_arg_match(__NR_sendmsg, 3, 0); } + if (is_anon && tunable_chown_uploads) + { + allow_nr(__NR_fchmod); + } } if (tunable_syslog_enable) @@ -538,6 +542,12 @@ seccomp_sandbox_setup_postlogin_broker() seccomp_sandbox_setup_base(); seccomp_sandbox_setup_data_connections(); allow_nr_1_arg_match(__NR_sendmsg, 3, 0); + if (tunable_chown_uploads) + { + allow_nr(__NR_fstat); + allow_nr(__NR_fchown); + allow_nr_1_arg_match(__NR_recvmsg, 3, 0); + } } void
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor