Bugzilla – Attachment 2299 Details for
Bug 1988
ControlPersist causes stderr to be left open until the master connection times out
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
daemonize backgrounded mux master with controlpersist
ssh-mux-daemon.patch (text/plain), 580 bytes, created by
Darren Tucker
on 2013-06-07 02:54:24 AEST
(
hide
)
Description:
daemonize backgrounded mux master with controlpersist
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2013-06-07 02:54:24 AEST
Size:
580 bytes
patch
obsolete
>Index: ssh.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/ssh.c,v >retrieving revision 1.378 >diff -u -p -r1.378 ssh.c >--- ssh.c 17 May 2013 00:13:14 -0000 1.378 >+++ ssh.c 6 Jun 2013 01:51:58 -0000 >@@ -947,6 +947,8 @@ control_persist_detach(void) > fatal("%s: fork: %s", __func__, strerror(errno)); > case 0: > /* Child: master process continues mainloop */ >+ if (daemon(1, 0) == -1) >+ fatal("Failed to daemonize control master"); > break; > default: > /* Parent: set up mux slave to connect to backgrounded master */
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
Flags:
djm
:
ok+
Actions:
View
|
Diff
Attachments on
bug 1988
:
2299
|
2810
|
2811
|
3409