mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
4cb085f361
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> |
||
---|---|---|
.. | ||
atrun | ||
bootpd | ||
comsat | ||
fingerd | ||
ftpd | ||
getty | ||
lukemftpd | ||
mail.local | ||
makekey | ||
mknetid | ||
pppoed | ||
rbootd | ||
revnetgroup | ||
rlogind | ||
rpc.rquotad | ||
rpc.rstatd | ||
rpc.rusersd | ||
rpc.rwalld | ||
rpc.sprayd | ||
rshd | ||
rtld-aout | ||
rtld-elf | ||
save-entropy | ||
smrsh | ||
talkd | ||
tcpd | ||
telnetd | ||
tftp-proxy | ||
tftpd | ||
ypxfr | ||
Makefile | ||
Makefile.inc |