Bug 211209

Summary: sendfile to STDOUT fails
Product: File System Reporter: Marcin Deranek (marcin.deranek)
Component: OtherAssignee: fs_other
Status: RESOLVED CODE_FIX    
Severity: normal CC: nuxi
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.10.7 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: Test code

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.