Bugzilla – Attachment 773 Details for
Bug 973
sshd behaves differently while doing syslog entries for tcpwrappers denied message, with -r and without -r option.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
force log_init to reopen syslog
openssh-tcpwrap.patch (text/plain), 661 bytes, created by
Darren Tucker
on 2005-01-19 22:51:51 AEDT
(
hide
)
Description:
force log_init to reopen syslog
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2005-01-19 22:51:51 AEDT
Size:
661 bytes
patch
obsolete
>Index: log.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/log.c,v >retrieving revision 1.38 >diff -u -p -r1.38 log.c >--- log.c 21 Jul 2004 00:52:13 -0000 1.38 >+++ log.c 19 Jan 2005 11:41:16 -0000 >@@ -261,6 +261,14 @@ log_init(char *av0, LogLevel level, Sysl > (int) facility); > exit(1); > } >+ /* XXX */ >+#if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT) >+ openlog_r(argv0 ? argv0 : __progname, LOG_PID, log_facility, &sdata); >+ closelog_r(&sdata); >+#else >+ openlog(argv0 ? argv0 : __progname, LOG_PID, log_facility); >+ closelog(); >+#endif > } > > #define MSGBUFSIZ 1024
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 973
:
769
|
770
|
772
|
773
|
786