summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/privsep.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* close all fds > STDERR_FILENO before executing the pipe program.martijn2020-09-161-1/+2
* When syslogd(8) parent process terminates, the file cleanup codebluhm2019-07-051-7/+3
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-8/+8
* Unveil fits nicely into the syslogd privsep model. Unveiled filesderaadt2018-08-071-2/+27
* Globally remember the passwd entry for _syslogd. The user id isbluhm2018-04-261-7/+9
* Replace logdebug() with generic log_debug() from log.c. Implementbluhm2017-04-051-12/+13
* When syslogd received a SIGHUP during startup, it died instead ofbluhm2016-12-301-1/+10
* If syslogd was started with a relative path, the program could notbluhm2016-12-271-5/+13
* Fix trailing whitespace and shorten long lines.bluhm2016-10-161-2/+2
* Use closefrom(4) in privsep parent and avoid some global filebluhm2016-10-161-24/+4
* Do an exec on itself in the privileged syslogd(8) parent processbluhm2016-10-061-86/+103
* whitespace nitjca2016-06-281-2/+2
* Eliminate superfluous 3rd params in fcntl(F_GETFL) calls.krw2016-04-021-2/+2
* After pledge "dns" has been refactored and setsockopt(SO_RCVBUF)bluhm2015-10-201-2/+2
* Add "id" pledge to syslogd privsep process. Needed for logging to pipe.bluhm2015-10-181-2/+2
* Pledge the syslogd privsep process with "stdio rpath wpath cpathbluhm2015-10-161-1/+5
* In syslogd replace the dprintf() macro with a logdebug() functionbluhm2015-10-151-10/+11
* If syslogd is started with -S, it accepts TLS connections to receivebluhm2015-10-091-1/+3
* When syslogd is invoked with -T listen_address, it creates a TCPbluhm2015-07-071-1/+3
* Remove some unneeded includes. OK deraadt@millert2015-07-061-7/+1
* Add a -U command line switch for syslogd to specify an explict bindbluhm2015-06-301-1/+3
* Replace HOST_NAME_MAX+1 with NI_MAXHOST when the hostname is usedbluhm2015-01-191-5/+7
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-9/+10
* Implement sending syslog messages over TCP streams.bluhm2014-12-311-8/+25
* Switch syslogd from using poll(2) to libevent.bluhm2014-10-051-17/+17
* Cleanup the reporting socket code in syslogd.bluhm2014-10-031-3/+3
* Also in debug mode, close nullfd when it is not needed anymore.bluhm2014-09-271-2/+1
* Remove redundant null check and rename vars consistently in syslogddoug2014-09-101-5/+5
* Fix a syslogd regression when specifying all 20 additional log pathsdoug2014-09-081-2/+4
* Call check_tty_name() and check_log_name() with the string size andbluhm2014-08-251-9/+9
* Allow to restrict syslogd to a protocol family with -4 and -6 commandbluhm2014-08-251-10/+31
* Fix the gcc compiler warnings "comparison between signed andbluhm2014-08-251-9/+12
* Send and receive UDP syslog packets on the IPv6 socket.bluhm2014-08-211-3/+5
* Parse loghost in a separate function. Allow [] around hostname,bluhm2014-08-211-3/+3
* Replace gethostbyaddr(3) with getnameinfo(3). Remove the sigprocmask()bluhm2014-08-201-33/+33
* Rename priv_gethostserv() to priv_getaddrinfo() as this is what thebluhm2014-08-201-10/+12
* The _exit codes in syslogd privsep.c were the wrong way around.bluhm2014-08-191-9/+9
* Replace manually written function names with __func__.bluhm2014-08-191-15/+13
* Remove some whitespace.brad2008-11-231-3/+3
* do not close a random file descriptor in debug mode, PR 5938 from mickeyderaadt2008-09-291-2/+2
* avoid errno trashing, ok mpf henningderaadt2008-03-161-3/+5
* syslogd leaves zombies around if multiple |/pathto/mylogprogmpf2008-03-161-6/+4
* use warnx and not logerror in monitor, logerror is for the slave;djm2007-03-151-5/+7
* implement logging to other program's stdin.henning2007-02-201-5/+105
* Use sigaction() instead of signal() in the parent and use themillert2006-07-091-7/+15
* unlink() pid file on exit. ok deraadt@moritz2005-12-021-1/+2
* fix fd leak on SIGHUP after config change, spotted by Stephen Marley; ok avsm@djm2005-06-061-1/+3
* noo need for endpwent() here at all, ok theohenning2005-05-231-2/+1
* setres[ug]id; ok deraadt@djm2005-05-031-13/+6
* portable code should not use that gcc __func__ specific junk when it is not neededderaadt2004-09-141-15/+17