Bug 211209 - sendfile to STDOUT fails
Summary: sendfile to STDOUT fails
Status: RESOLVED CODE_FIX
Alias: None
Product: File System
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: fs_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-15 12:19 UTC by Marcin Deranek
Modified: 2021-02-02 15:11 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.10.7
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
Test code (526 bytes, text/plain)
2021-01-15 12:19 UTC, Marcin Deranek
Details

Description Marcin Deranek 2021-01-15 12:19:32 UTC
Created attachment 294645 [details]
Test code

Behavior is very similar to https://bugzilla.kernel.org/show_bug.cgi?id=209971 although this time STDOUT is used as an output (see attached sample code). On Linux 5.9.16 this succeeds and prints content of /proc/self/mountinfo file, however using Linux 5.10.7 I get 'Failed to copy "/proc/self/mountinfo"'.
Comment 1 Marcin Deranek 2021-01-28 11:44:43 UTC
Looks like problem is already addressed in 5.10.11. Thank you.

Note You need to log in before you can comment on or make changes to this bug.