Bug 13016 - When fcntl with F_SETFL is called from vsftpd functions, it hangs during file request from the client
Summary: When fcntl with F_SETFL is called from vsftpd functions, it hangs during file...
Status: RESOLVED MOVED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2020.02.3
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-22 04:51 UTC by prabhusannachi
Modified: 2024-06-15 14:52 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments
This patch allows fcntl with F_SETFL and no filters. (1.03 KB, application/octet-stream)
2020-06-22 04:51 UTC, prabhusannachi
Details

Note You need to log in before you can comment on or make changes to this bug.
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!