HardenedBSD/libexec
Ed Schouten 4cb085f361 Fix handling of pts(4) device names in comsat(8). Also catch fork() errors.
Pseudo-terminals allocated with posix_openpt(2) will have more slashes
in their path names than comsat(8) allows, so allow slashes when the
character device name starts with "pts/".

This patch is loosely based on NetBSD's changes, revision 1.33. Because
it also included the changes to fork(), I imported them here as well.
Maybe we could import even more fixes from the other BSD's?

Original commit message from the NetBSD folks:

	PR/30170: Markus W Kilbinger: src/libexec/comsat complains
	about: '/' in "/dev/pts/1"

Reported by:	Robert Huff <roberthuff rcn com>
2009-01-17 15:56:38 +00:00
..
atrun
bootpd This main goals of this project are: 2008-12-15 06:10:57 +00:00
comsat Fix handling of pts(4) device names in comsat(8). Also catch fork() errors. 2009-01-17 15:56:38 +00:00
fingerd Mark functions as __dead2 in order to help the LLVM static checker 2008-08-04 01:25:48 +00:00
ftpd Prevent cross-site forgery attacks on ftpd(8) due to splitting 2008-12-23 01:23:09 +00:00
getty
lukemftpd
mail.local
makekey
mknetid
pppoed
rbootd
revnetgroup
rlogind
rpc.rquotad Whitespace and style fixes, build at WARNS level 6. 2008-11-04 14:17:49 +00:00
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd
rshd
rtld-aout
rtld-elf Provide custom simple allocator for rtld locks in libthr. The allocator 2008-12-02 11:58:31 +00:00
save-entropy
smrsh
talkd
tcpd
telnetd Convert telnetd(8) to use posix_openpt(2). 2008-11-13 19:05:27 +00:00
tftp-proxy
tftpd
ypxfr
Makefile add new build knobs and jigger some existing controls to improve 2008-09-21 22:02:26 +00:00
Makefile.inc