Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
vsftpd.8244
vsftpd-enable-sendto-for-prelogin-syslog.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vsftpd-enable-sendto-for-prelogin-syslog.patch of Package vsftpd.8244
Enable sendto for syslog logging to /dev/log in prelogin We write to log from check_limits() and therefore we have to allow sendto() for syslog otherwise sandbox will kill the child. Index: vsftpd-3.0.2/seccompsandbox.c =================================================================== --- vsftpd-3.0.2.orig/seccompsandbox.c +++ vsftpd-3.0.2/seccompsandbox.c @@ -388,6 +388,11 @@ seccomp_sandbox_setup_prelogin(const str 1, PF_FILE, 2, SOCK_DGRAM | SOCK_CLOEXEC, 3, 0); + // allow syslog logs from check_limits() + if (tunable_syslog_enable) + { + allow_nr_1_arg_match(__NR_sendto, 6, 0); + } }
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