Displaying 3 results from an estimated 3 matches for "syslog_r".
2016 Mar 28
2
Is it possible to extend log message?
...ler(log_handler_fn *handler, void *ctx)
@@ -448,11 +448,11 @@ do_log(LogLevel level, const char *fmt, va_list args)
} else {
#if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT)
openlog_r(argv0 ? argv0 : __progname, LOG_PID, log_facility, &sd
- syslog_r(pri, &sdata, "%.500s", fmtbuf);
+ syslog_r(pri, &sdata, "%s", fmtbuf);
closelog_r(&sdata);
#else
openlog(argv0 ? argv0 : __progname, LOG_PID, log_facility);
- syslog(pri, "%.500s", fmtbuf);
+...
2006 Feb 12
2
[Bug 1129] sshd hangs for command-only invocations due to fork/child signals
...at mindrot.org 2006-02-12 12:41 -------
Created an attachment (id=1065)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1065&action=view)
Move debug from signal handler
I think we should just remove the debug from it signal handler. It is not safe
on platforms that don't implement syslog_r properly.
Does this patch solve the problem for you?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2009 Aug 28
6
[Bug 1636] New: Loging after chroot
https://bugzilla.mindrot.org/show_bug.cgi?id=1636
Summary: Loging after chroot
Product: Portable OpenSSH
Version: 5.2p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: jchadima at redhat.com