HardenedBSD/etc
Sheldon Hearn f66e7afa28 Add to defaults/rc.conf a new function source_rc_confs which rc
scripts may use to source safely overrides in ${rc_conf_files}
files.

This protects users who insist on the bad practice of copying
/etc/defaults/rc.conf to /etc/rc.conf from a recursive loop
that exhausts available file descriptors.

Several people have expressed interest in breaking this function
out into its own shell script.  Anyone who wants to embark on
such an undertaking would do well to study the attributed PR.

PR:		17595
Reported by:	adrian
Submitted by:	Doug Barton <Doug@gorean.org>
2000-04-27 08:43:49 +00:00
..
defaults Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
etc.alpha * Use console' rather than ttyv0' so there will always be a getty on 2000-01-29 00:50:21 +00:00
etc.amd64 Revert to rev 1.6 until post 4.0-R. As probably 98% of i386 installs 2000-01-29 12:18:03 +00:00
etc.i386 Revert to rev 1.6 until post 4.0-R. As probably 98% of i386 installs 2000-01-29 12:18:03 +00:00
isdn
kerberosIV
mail Correct $FreeBSD tags to include the (missing) ``:'', restoring the tags 2000-03-18 06:38:23 +00:00
mtree Add ${X11BASE}/lib/aout. 2000-03-25 00:00:27 +00:00
namedb Sigh. RFC2038 and bind 8.2.2 have a slight variation of interpretation 2000-01-10 15:31:40 +00:00
periodic Revert to rev 1.3 since the sed'ing is wrong. Revisit this after 4.0-RELEASE. 2000-01-27 22:52:43 +00:00
ppp
rc.d Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
root o Migrate path, umask from dot.login to dot.cshrc 2000-03-25 20:23:39 +00:00
sendmail
aliases
amd.map
apmd.conf
auth.conf
crontab
csh.cshrc
csh.login
csh.logout
dhclient.conf
disktab
dm.conf
fbtab
ftpusers
gettytab
group
host.conf
hosts Add IPv6 loopback entry into src/etc/hosts. 2000-02-15 14:59:16 +00:00
hosts.allow Clarify the disposition of hosts.deny and provide a logically 2000-03-28 17:28:56 +00:00
hosts.equiv
hosts.lpd
inetd.conf Fix a misspelling in the comments for tha IPv6 auth service and change them 2000-03-25 21:17:24 +00:00
locale.alias
login.access
login.conf o Improve the comment concerning rebuilding the database using cap_mkdb -- 2000-03-26 05:41:10 +00:00
MAKEDEV Replace the /dev/stdin, /dev/stdout, and /dev/stderr nodes with 2000-04-26 06:12:42 +00:00
MAKEDEV.local
Makefile Remove pccard.conf.sample from Makefile, sorry I forgot. 2000-04-15 16:48:41 +00:00
master.passwd
minfree
modems
motd
netstart Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
network.subr Add a sysctl to specify the amount of UDP receive space NFS should 2000-03-27 21:38:35 +00:00
networks
newsyslog.conf Add two commented out syslog.conf entries, one to demonstrate the use of 2000-02-08 21:57:28 +00:00
pam.conf Add ftpd entries into /etc/pam.conf. 2000-02-12 20:22:20 +00:00
pccard_ether Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
phones
pim6dd.conf Prevent multicast packets from being sent over stf0 interface, 2000-03-11 20:10:39 +00:00
pim6sd.conf Prevent multicast packets from being sent over stf0 interface, 2000-03-11 20:10:39 +00:00
printcap
profile
protocols
rc Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
rc.atm No arguments needed for fore_dnld any longer. 2000-02-15 13:21:43 +00:00
rc.devfs Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
rc.diskless1 Cleanup diskless support in current, mostly aligning it to the one 2000-01-06 18:17:38 +00:00
rc.diskless2 Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
rc.firewall Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
rc.initdiskless Cleanup diskless support in current, mostly aligning it to the one 2000-01-06 18:17:38 +00:00
rc.isdn
rc.network Add a sysctl to specify the amount of UDP receive space NFS should 2000-03-27 21:38:35 +00:00
rc.network6 Removed unnecessary comma in stf addr printf in hex format, 2000-04-06 00:24:52 +00:00
rc.pccard
rc.resume
rc.serial
rc.shutdown
rc.suspend
rc.sysctl Add and document support for handling comments and blank lines 2000-01-16 18:12:42 +00:00
remote
rpc
security Add a step for showing changes in the way filesystems are mounted 2000-04-06 10:46:50 +00:00
services
shells Add /bin/tcsh 2000-04-20 09:04:28 +00:00
syslog.conf Add two commented out syslog.conf entries, one to demonstrate the use of 2000-02-08 21:57:28 +00:00
termcap.small
usbd.conf Entry for Zip drive no longer needed. We do automatic rescans on connect 2000-04-03 11:16:41 +00:00