CVS commit: src/usr.sbin/syslogd

2020-11-07 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Nov  8 01:12:46 UTC 2020

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
syslogd: in die(), don't call die() again recursively.

Particularly not for something as immaterial as close failing.

PR 55795


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2020-11-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Nov  7 17:46:57 UTC 2020

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
make the buffer fit any 32 bit number.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2020-11-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Nov  7 16:16:33 UTC 2020

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
PR/55794: Jan Schaumann: Eliminate unchecked malloc


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2020-09-29 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Sep 29 14:08:43 UTC 2020

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
When reporting an error before daemonizing, prefix the error message
with the program name.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2019-02-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 11 19:45:54 UTC 2019

Modified Files:
src/usr.sbin/syslogd: syslogd.h

Log Message:
add parens around defines with expressions that could expand poorly
depending on the usage.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/syslogd/syslogd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2018-11-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Nov  5 10:27:06 UTC 2018

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
Revert previous - local merge mishap


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2018-11-05 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Nov  5 09:22:30 UTC 2018

Modified Files:
src/usr.sbin/syslogd: syslogd.8 syslogd.c

Log Message:
Sort options.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/usr.sbin/syslogd/syslogd.8
cvs rdiff -u -r1.128 -r1.129 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2018-11-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Nov  5 08:34:20 UTC 2018

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
Make it compilable with gcc


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2018-11-04 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun Nov  4 20:45:21 UTC 2018

Modified Files:
src/usr.sbin/syslogd: syslogd.8 syslogd.c

Log Message:
syslogd: allow the reporting of buffer overflows to be disabled.

This generally isn't a good thing, nothing should be discard silently.
However, for systems that don't want big syslogd buffers or are too slow
to log effectively this reporting can now be disabled.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.sbin/syslogd/syslogd.8
cvs rdiff -u -r1.126 -r1.127 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2018-11-04 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun Nov  4 20:23:08 UTC 2018

Modified Files:
src/usr.sbin/syslogd: syslogd.8 syslogd.c

Log Message:
syslogd: allow the receiving buffer size to be set.

This allows the admin to try and avoid buffer overflow when a log of
logging appears in bursts.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/usr.sbin/syslogd/syslogd.8
cvs rdiff -u -r1.125 -r1.126 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2018-05-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May  6 19:16:37 UTC 2018

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
grow AF_UNIX receive buffer size


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2018-02-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  9 02:23:32 UTC 2018

Modified Files:
src/usr.sbin/syslogd: Makefile

Log Message:
only set api compat for 1.0


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/syslogd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2018-02-08 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Feb  8 18:28:42 UTC 2018

Modified Files:
src/usr.sbin/syslogd: Makefile

Log Message:
define OPENSSL_API_COMPAT

(doesn't entirely unbreak build yet)


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/syslogd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2018-02-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  8 17:45:30 UTC 2018

Modified Files:
src/usr.sbin/syslogd: tls.c tls.h

Log Message:
include dh.h in the right spot.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/syslogd/tls.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/syslogd/tls.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2018-02-06 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Feb  6 22:04:22 UTC 2018

Modified Files:
src/usr.sbin/syslogd: tls.c

Log Message:
Correct misleading indentation.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/syslogd/tls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2018-02-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Feb  6 21:36:47 UTC 2018

Modified Files:
src/usr.sbin/syslogd: sign.c tls.c

Log Message:
Adjust to OpenSSL-1.1


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/syslogd/sign.c
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/syslogd/tls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2017-09-10 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Sun Sep 10 17:01:07 UTC 2017

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
Use looked up remote host for remote message without a hostname

An incoming remote message may not necessarily have a hostname
between the timestamp and the message. The the source of the remote
sender is already looked up so use that hostname/IP address rather
than the local hostname.

XXX: pullup-8
XXX: pullup-7
XXX: pullup-6


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2017-02-21 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue Feb 21 18:36:39 UTC 2017

Modified Files:
src/usr.sbin/syslogd: syslog.conf.5

Log Message:
Remove duplicate word from the sentence.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/syslogd/syslog.conf.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2017-02-21 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue Feb 21 18:28:28 UTC 2017

Modified Files:
src/usr.sbin/syslogd: syslog.conf.5

Log Message:
Fix typos.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/syslogd/syslog.conf.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2017-01-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan 10 21:05:42 UTC 2017

Modified Files:
src/usr.sbin/syslogd: tls.c

Log Message:
need 


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/syslogd/tls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2016-06-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jun 11 16:55:10 UTC 2016

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
PR/51234: Onno van der Linden: syslogd sometimes incorrectly handles iso to
bsd time conversion


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2016-02-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb  3 05:34:21 UTC 2016

Modified Files:
src/usr.sbin/syslogd: tls.c

Log Message:
PR/50751: David Binderman: check bounds before dereferencing.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/syslogd/tls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2016-01-04 Thread Pierre Pronchery
Module Name:src
Committed By:   khorben
Date:   Tue Jan  5 00:41:30 UTC 2016

Modified Files:
src/usr.sbin/syslogd: syslog.conf.5

Log Message:
Typo


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/syslogd/syslog.conf.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2015-09-08 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Tue Sep  8 18:33:12 UTC 2015

Modified Files:
src/usr.sbin/syslogd: syslogd.h

Log Message:
according to C99 6.5.15 in a conditional expression, both
operands should be of compatible types.

So, use ((void)0) here to match `void dbprintf()'


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/syslogd/syslogd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2015-09-05 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Sep  5 20:19:43 UTC 2015

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
tidy/fix printing of paths from sockaddr_un


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2015-02-15 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun Feb 15 14:51:57 UTC 2015

Modified Files:
src/usr.sbin/syslogd: syslogd.h

Log Message:
Format string annotation.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/syslogd/syslogd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2015-02-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Feb 10 20:38:15 UTC 2015

Modified Files:
src/usr.sbin/syslogd: extern.h sign.c syslogd.c syslogd.h

Log Message:
- always set *to_buf to a timestamp, even if there was none reported/parseable
  (Frank Kardel).
- merge the timestamp copying code to one place.
- factor out the debugging printf function.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/syslogd/extern.h
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/syslogd/sign.c
cvs rdiff -u -r1.120 -r1.121 src/usr.sbin/syslogd/syslogd.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/syslogd/syslogd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2014-08-17 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Aug 18 05:21:16 UTC 2014

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
- when checking hostname of incoming remote messages, fallback to checking
  remote host if the message doesn't contain a hostname
- don't truncate IP addresses when reading syslogd.conf


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2013-11-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Nov 27 20:48:28 UTC 2013

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
CID 1132759: Abort on dehumanize_number error on constant built-in string.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2013-11-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Nov 11 16:39:21 UTC 2013

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
CID 1128379: Fix TOCTOU, always open the file first with non-blocking I/O,
do that stat later and leave the file as non-blocking because it does not
make a difference for plain files.


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2013-11-09 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Nov 10 00:13:50 UTC 2013

Modified Files:
src/usr.sbin/syslogd: syslog.conf.5

Log Message:
Bump date for FIFO support.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/syslogd/syslog.conf.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2013-11-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Nov  9 19:00:18 UTC 2013

Modified Files:
src/usr.sbin/syslogd: syslog.conf.5 syslogd.c

Log Message:
add support for outputting to FIFO's (Anthony Mallet)


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/syslogd/syslog.conf.5
cvs rdiff -u -r1.116 -r1.117 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2013-11-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Nov  9 18:58:22 UTC 2013

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
fix two bugs related to queues (Anthony Mallet)
- the default values are in humanized number form so strtol does not work
- fix reversed size tests


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2013-05-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon May 27 23:15:51 UTC 2013

Modified Files:
src/usr.sbin/syslogd: syslogd.c syslogd.h tls.c

Log Message:
PR/47861: Fredrik Pettai: keep track of the address family for each socket
opened and don't send the a message to the wrong family type.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/usr.sbin/syslogd/syslogd.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/syslogd/syslogd.h
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/syslogd/tls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2013-01-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 17 18:54:29 UTC 2013

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
ut_line does not have /dev in front of it. Add it, from dholland@


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2013-01-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan 15 22:37:04 UTC 2013

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
PR/47449: David Holland: Don't log to terminals with mesg n, unless it is a
wall message.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2013-01-13 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jan 14 03:05:41 UTC 2013

Modified Files:
src/usr.sbin/syslogd: syslogd.8

Log Message:
fix thinko


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/usr.sbin/syslogd/syslogd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2012-10-30 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Oct 30 23:03:02 UTC 2012

Modified Files:
src/usr.sbin/syslogd: syslogd.8

Log Message:
Remove trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/usr.sbin/syslogd/syslogd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2012-10-30 Thread Radoslaw Kujawa
Module Name:src
Committed By:   rkujawa
Date:   Tue Oct 30 21:24:26 UTC 2012

Modified Files:
src/usr.sbin/syslogd: syslogd.8

Log Message:
Note enchancements that appeared in NetBSD 6.0.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/usr.sbin/syslogd/syslogd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2012-10-05 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Oct  5 16:15:45 UTC 2012

Modified Files:
src/usr.sbin/syslogd: syslog.conf.5

Log Message:
RFC 5848


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/syslogd/syslog.conf.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2012-06-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun 20 01:39:35 UTC 2012

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
remove dup O_NDELAY.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2012-06-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jun 19 13:44:35 UTC 2012

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
- fix writev1() to pre-decrement count.
- always open ttys with O_NDELAY.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2012-06-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jun 18 19:17:43 UTC 2012

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
don't call isatty() to the fd before opening it.


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2012-06-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun  6 00:33:45 UTC 2012

Modified Files:
src/usr.sbin/syslogd: Makefile sign.c syslogd.c tls.c

Log Message:
WARNS=4


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/syslogd/Makefile
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/syslogd/sign.c
cvs rdiff -u -r1.108 -r1.109 src/usr.sbin/syslogd/syslogd.c
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/syslogd/tls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2012-06-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jun  5 19:33:18 UTC 2012

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
Open and write to ttys using non-blocking I/O to prevent DoS when hardware
or software flow control prevents tty writes or when the tty line is too
slow to respond.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2012-05-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue May 15 01:22:51 UTC 2012

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
improve error handling.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2012-03-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Mar 28 17:39:33 UTC 2012

Modified Files:
src/usr.sbin/syslogd: syslogd.8 syslogd.c

Log Message:
add aliases for the protocol format


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.sbin/syslogd/syslogd.8
cvs rdiff -u -r1.105 -r1.106 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2012-02-12 Thread S.P.Zeidler
Module Name:src
Committed By:   spz
Date:   Mon Feb 13 07:40:24 UTC 2012

Modified Files:
src/usr.sbin/syslogd: sign.c tls.c

Log Message:
fix resource leaks and NULL uses found by Coverity scan.
Releng-ok by riz


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/syslogd/sign.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/syslogd/tls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2011-10-07 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Oct  7 10:50:01 UTC 2011

Modified Files:
src/usr.sbin/syslogd: tls.c

Log Message:
Simplify.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/syslogd/tls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2011-06-20 Thread enami tsugutomo
Module Name:src
Committed By:   enami
Date:   Mon Jun 20 08:27:15 UTC 2011

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
Now need to use own buffer for klog read due to previous change.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2011-06-19 Thread enami tsugutomo
Module Name:src
Committed By:   enami
Date:   Mon Jun 20 00:42:12 UTC 2011

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
Defer the processing of incomplete line at the end of buffer so that
kernel printf messages logged to /var/log/messages become always
easier to read.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2011-05-24 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue May 24 13:26:41 UTC 2011

Modified Files:
src/usr.sbin/syslogd: tls.c

Log Message:
Properly use format strings


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/syslogd/tls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2011-05-24 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue May 24 13:26:04 UTC 2011

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
Explicitly mark a NEWREF as unused


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2011-05-24 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue May 24 13:25:25 UTC 2011

Modified Files:
src/usr.sbin/syslogd: syslogd.c

Log Message:
Properly use format strings


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/syslogd

2010-06-09 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Wed Jun  9 21:55:42 UTC 2010

Modified Files:
src/usr.sbin/syslogd: Makefile extern.h syslogd.c

Log Message:
Allow syslogd to compile when MKCRYPTO=no.  No promises as to whether
it works or not, as this has been broken since late 2008, when the
"encrypted connections" support was added to syslogd.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/syslogd/Makefile
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/syslogd/extern.h
cvs rdiff -u -r1.99 -r1.100 src/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.