Bugzilla – Attachment 2027 Details for
Bug 1859
sshd does not forward break request to process as SIGINT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
send break to correct fd
fixbreak.diff (text/plain), 566 bytes, created by
Damien Miller
on 2011-04-13 15:01:56 AEST
(
hide
)
Description:
send break to correct fd
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2011-04-13 15:01:56 AEST
Size:
566 bytes
patch
obsolete
>Index: session.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/session.c,v >retrieving revision 1.258 >diff -u -p -r1.258 session.c >--- session.c 25 Nov 2010 04:10:09 -0000 1.258 >+++ session.c 13 Apr 2011 04:55:56 -0000 >@@ -1804,11 +1804,10 @@ session_exec_req(Session *s) > static int > session_break_req(Session *s) > { >- > packet_get_int(); /* ignored */ > packet_check_eom(); > >- if (s->ttyfd == -1 || tcsendbreak(s->ttyfd, 0) < 0) >+ if (s->ptyfd == -1 || tcsendbreak(s->ptyfd, 0) < 0) > return 0; > return 1; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1859
: 2027