HardenedBSD/sbin/init
Brooks Davis a449e81e00 Remove risky compatability with old kernels
The badsys() handler for SIGSYS was added as a transtion aid for kernels
lacking sysctl() in 1993.  It is unsafe and unsound so remove it rather
than running the risk of a privilege-dropping system call being silently
omitted.

This partially reverts SCCSID 6.12 (Berkeley) 03/03/93 "add code to
change the system security level".

Reviewed by:	mckusick, imp, kevans
Obtained from:	CheriBSD
MFC after:	1 week
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D26289
2020-09-02 21:14:36 +00:00
..
init.8 add ability to set watchdog timeout for a shutdown 2019-10-03 11:23:10 +00:00
init.c Remove risky compatability with old kernels 2020-09-02 21:14:36 +00:00
Makefile
Makefile.depend
NOTES
pathnames.h
ttys.aarch64
ttys.amd64
ttys.arm
ttys.i386
ttys.mips
ttys.powerpc
ttys.riscv