Bug 13016

Summary: When fcntl with F_SETFL is called from vsftpd functions, it hangs during file request from the client
Product: buildroot Reporter: prabhusannachi <prabhusannachi>
Component: OtherAssignee: unassigned
Status: RESOLVED MOVED    
Severity: normal CC: buildroot, yann.morin.1998
Priority: P5    
Version: 2020.02.3   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: This patch allows fcntl with F_SETFL and no filters.

Description prabhusannachi 2020-06-22 04:51:59 UTC
Created attachment 8511 [details]
This patch allows fcntl with F_SETFL and no filters.

The fcntl function with F_SETFL is called from various portion of the vsftpd to activate and deactivate block on the file, hangs when client request a file from the server. This happens when seccomp_sandbox is enabled in the configuration.
vsftpd version is 3.0.3

Similar issue has been addressed on 3.0.2 and fixed on other distribution.

Reference:
https://build.opensuse.org/package/view_file/SUSE:SLE-12-SP1:GA/vsftpd.2254/vsftpd-enable-fcntl-f_setfl.patch?expand=1
Comment 1 Yann E. MORIN 2024-06-15 14:52:57 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!