summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd/privsep.c
AgeCommit message (Expand)Author
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2020-09-16close all fds > STDERR_FILENO before executing the pipe program.Martijn van Duren
2019-07-05When syslogd(8) parent process terminates, the file cleanup codeAlexander Bluhm
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-08-07Unveil fits nicely into the syslogd privsep model. Unveiled filesTheo de Raadt
2018-04-26Globally remember the passwd entry for _syslogd. The user id isAlexander Bluhm
2017-04-05Replace logdebug() with generic log_debug() from log.c. ImplementAlexander Bluhm
2016-12-30When syslogd received a SIGHUP during startup, it died instead ofAlexander Bluhm
2016-12-27If syslogd was started with a relative path, the program could notAlexander Bluhm
2016-10-16Fix trailing whitespace and shorten long lines.Alexander Bluhm
2016-10-16Use closefrom(4) in privsep parent and avoid some global fileAlexander Bluhm
2016-10-06Do an exec on itself in the privileged syslogd(8) parent processAlexander Bluhm
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