Files
src/libexec/rc
Dag-Erling Smørgrav b5a96894f6 rc: Bail if /dev/null is not a device
On startup, check that /dev/null exists and is a character device.
Otherwise, one of two things will happen: either /dev is a writable
directory and we will immediately create /dev/null as a regular file
and dump garbage into it, or it does not and we will spit out a stream
of error messages about failing to create /dev/null.

PR:		295782
MFC after:	1 week
Reviewed by:	jhb, emaste
Differential Revision:	https://reviews.freebsd.org/D57447
2026-06-05 17:53:29 +02:00
..
2026-06-05 07:00:00 +02:00
2026-05-18 10:51:18 -07:00
2026-03-07 00:51:15 -07:00
2026-03-07 00:51:15 -07:00
2024-09-10 12:04:15 -07:00
2023-11-26 22:23:28 -07:00
2026-06-05 17:53:29 +02:00
2026-05-18 10:51:18 -07:00