summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/privsep.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-5/+5
* support configuring BIOCSFILDROP with tcpdump.dlg2019-03-181-4/+5
* tcpdump(8) monitor process privdropbrynet2018-11-171-30/+40
* The 'recvfd' and 'inet' promises are no longer required by tcpdump(8)brynet2018-11-091-2/+2
* Hoist opening pf.os(5) fingerprints '-o' earlier so that it doesn'tbrynet2018-11-081-93/+43
* add unveil(2) to tcpdump(8)mestre2018-09-281-2/+14
* mestre and I can find no reason why the pledge has "unix". Disablederaadt2018-08-081-2/+2
* Whoops, remove extra include.brynet2017-09-081-2/+1
* fork+exec model for tcpdump(8); re-exec the privileged child after forkbrynet2017-09-081-25/+60
* Don't support loading appletalk addresses from /etc/appletalk.names.akfaew2017-06-141-3/+2
* Split pledge "ioctl" into "tape" and "bpf", and allow SIOCGIFGROUP onlyderaadt2017-01-231-2/+2
* err() instead of errx(); noted by timderaadt2016-07-251-3/+2
* Split the root vs not-root cases better with regards to chroot setup.deraadt2016-07-241-9/+12
* 2004 privsep caused "tcpdump -r" to became a priviledged operation becausederaadt2016-07-211-32/+20
* Remove two sets of NULL-checks before free().mmcc2015-12-051-5/+3
* Surround pledge call with blank lines.mmcc2015-11-031-1/+3
* Change all tame callers to namechange to pledge(2).deraadt2015-10-091-3/+3
* Move from tame "cmsg" to tame "sendfd" or "recvfd", depending on whichderaadt2015-10-061-2/+2
* tcpdump is two-process privsep.deraadt2015-10-031-1/+3
* since stdlib.h is in scope, don't cast.... you know the drill.deraadt2015-08-211-2/+2
* Move the BIOCGSTATS ioctl operation done by the tcpdump processderaadt2015-07-141-8/+39
* tzfile.h is an internal header that should never have been installed.millert2015-03-151-3/+2
* Adjust <sys/param.h> comments regarding use of use of MSIZE, orderaadt2015-01-201-4/+4
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+3
* Revert r1.29. Now that the "C" locale is ASCII-only, this workaroundstsp2011-09-221-5/+1
* Call setlocale() to avoid display glitches in UTF-8 locales.stsp2011-04-031-1/+5
* correcto in comment; from Amarendra Godbolejmc2009-04-171-2/+2
* add filtering on direction; ok mpf@ deraadt@ feedback jmc@djm2008-04-181-4/+5
* typos; ok jmc@martynas2007-11-271-2/+2
* Set signal handlers directly after the fork(2), so that we avoidmoritz2006-04-221-1/+13
* Remove remaining stuff from state QUIT, adjust some commentsmoritz2006-04-221-6/+4
* Add comments to please lint. No code changes. OK deraadtcloder2006-04-211-1/+4
* Only allow root to run tcpdump. It's needed for the chroot security.otto2005-09-231-30/+24
* Call endpwent() _after_ we're done with the struct passwd fields.otto2005-05-231-2/+2
* correct comments and function namens to reflect new parent/childmoritz2005-05-221-45/+45
* fix signal race in statistics output. ok cloder@ henning@moritz2005-05-221-42/+3
* more setres[ug]id; ok deraadt@djm2005-05-031-25/+13
* fix signal race by removing STATE_QUIT completely.moritz2005-04-201-7/+8
* do not forget to call endpwent(). ok moritz@otto2005-04-101-1/+2
* reduce the set of allowed actions in the privileged partmoritz2005-04-101-4/+44
* simplify state engine, the old one was very confusing and wrong too.otto2005-03-261-22/+42
* whitespacemoritz2005-03-251-5/+5
* add support for multiple DLTs using the -L and -y options.reyk2005-03-061-3/+5
* no \n in errx(3)henning2004-07-141-2/+2
* Take better care of people down under living in X and a half hourotto2004-06-091-7/+4
* Naming consistency. From Alexander Guy. ok canacar@otto2004-05-151-9/+9
* Silence getopt() in the priv process. ok canacar@ henning@otto2004-04-231-1/+2
* In error message, use saved errno, not current errno.avsm2004-04-081-2/+2
* - dont send junk err in parent_open_dump() if filename is NULLavsm2004-04-031-7/+8
* Check return code of chdir() after chroot(); noted by Joris Vink, slight modotto2004-03-141-2/+3