[Bug 3523] standard output file descriptor was set with: O_NONBLOCK, but restore with flag: 0

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Jan 17 23:49:21 AEDT 2023


https://bugzilla.mindrot.org/show_bug.cgi?id=3523

--- Comment #2 from mzhan017 <mark.zhang at nokia-sbell.com> ---
Hello Miller,
Thanks for your quick response and fix.
The patch is good by my test.

Thanks,
Mark

systemtap's result, the flag could be restored.
time: 1673959685099: vfs_llseek: process=ksh, pid=1168362: file name
=ddd, flag=8401
time: 1673959685099: vfs_llseek: process=ksh, pid=1168362: file name
=ddd, flag=8401
time: 1673959685100: vfs_llseek: process=ksh, pid=1168362: file name
=ddd, flag=8401
time: 1673959685101: vfs_llseek: process=ksh, pid=1168362: file name
=ddd, flag=8401
time: 1673959685192: setfl: process=ssh, pid=1168363: file name =ddd,
flag=8401, arg=8c01
time: 1673959685319: setfl: process=ssh, pid=1168363: file name =ddd,
flag=8c01, arg=8401
time= 1673959687102: inode->i_size: 8455256, name: ksh, pid=1168362,
off=0, file_off=0, count=4, flag=2, file_flag=8401, filename=ddd

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list