summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd/privsep.c
AgeCommit message (Expand)Author
2016-06-28whitespace nitJeremie Courreges-Anglas
2016-04-02Eliminate superfluous 3rd params in fcntl(F_GETFL) calls.Kenneth R Westerback
2015-10-20After pledge "dns" has been refactored and setsockopt(SO_RCVBUF)Alexander Bluhm
2015-10-18Add "id" pledge to syslogd privsep process. Needed for logging to pipe.Alexander Bluhm
2015-10-16Pledge the syslogd privsep process with "stdio rpath wpath cpathAlexander Bluhm
2015-10-15In syslogd replace the dprintf() macro with a logdebug() functionAlexander Bluhm
2015-10-09If syslogd is started with -S, it accepts TLS connections to receiveAlexander Bluhm
2015-07-07When syslogd is invoked with -T listen_address, it creates a TCPAlexander Bluhm
2015-07-06Remove some unneeded includes. OK deraadt@Todd C. Miller
2015-06-30Add a -U command line switch for syslogd to specify an explict bindAlexander Bluhm
2015-01-19Replace HOST_NAME_MAX+1 with NI_MAXHOST when the hostname is usedAlexander Bluhm
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-31Implement sending syslog messages over TCP streams.Alexander Bluhm
2014-10-05Switch syslogd from using poll(2) to libevent.Alexander Bluhm
2014-10-03Cleanup the reporting socket code in syslogd.Alexander Bluhm
2014-09-27Also in debug mode, close nullfd when it is not needed anymore.Alexander Bluhm
2014-09-10Remove redundant null check and rename vars consistently in syslogdDoug Hogan
2014-09-08Fix a syslogd regression when specifying all 20 additional log pathsDoug Hogan
2014-08-25Call check_tty_name() and check_log_name() with the string size andAlexander Bluhm
2014-08-25Allow to restrict syslogd to a protocol family with -4 and -6 commandAlexander Bluhm
2014-08-25Fix the gcc compiler warnings "comparison between signed andAlexander Bluhm
2014-08-21Send and receive UDP syslog packets on the IPv6 socket.Alexander Bluhm
2014-08-21Parse loghost in a separate function. Allow [] around hostname,Alexander Bluhm
2014-08-20Replace gethostbyaddr(3) with getnameinfo(3). Remove the sigprocmask()Alexander Bluhm
2014-08-20Rename priv_gethostserv() to priv_getaddrinfo() as this is what theAlexander Bluhm
2014-08-19The _exit codes in syslogd privsep.c were the wrong way around.Alexander Bluhm
2014-08-19Replace manually written function names with __func__.Alexander Bluhm
2008-11-23Remove some whitespace.Brad Smith
2008-09-29do not close a random file descriptor in debug mode, PR 5938 from mickeyTheo de Raadt
2008-03-16avoid errno trashing, ok mpf henningTheo de Raadt
2008-03-16syslogd leaves zombies around if multiple |/pathto/mylogprogMarco Pfatschbacher
2007-03-15use warnx and not logerror in monitor, logerror is for the slave;Damien Miller
2007-02-20implement logging to other program's stdin.Henning Brauer
2006-07-09Use sigaction() instead of signal() in the parent and use theTodd C. Miller
2005-12-02unlink() pid file on exit. ok deraadt@Moritz Jodeit
2005-06-06fix fd leak on SIGHUP after config change, spotted by Stephen Marley; ok avsm@Damien Miller
2005-05-23noo need for endpwent() here at all, ok theoHenning Brauer
2005-05-03setres[ug]id; ok deraadt@Damien Miller
2004-09-14portable code should not use that gcc __func__ specific junk when it is not n...Theo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-07-09ansiTheo de Raadt
2004-07-03-Wall,-Wshadow cleanup with avsm@; ok henning@ krw@Damien Miller
2004-07-03support @hostname:port syntax in syslog.conf, prompted by msf@ at c2k4;Damien Miller
2004-04-09Also pass SIGINT and SIGQUIT to child, noticed by mpech@Can Erkin Acar
2004-04-02Do not bother closing an fd when we know it has failed.Anil Madhavapeddy
2004-03-14Check return code of chdir() after chroot(); noted by Joris Vink, slight modOtto Moerbeek
2004-03-06cleanup, mostly signal handlingOtto Moerbeek
2004-02-26cure my spelingAnil Madhavapeddy
2004-01-04Buffered logging for syslogd. Logs may be stored in memory buffers andDamien Miller
2003-12-29delintTheo de Raadt