freebsd-dev/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 Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
NOTES
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ttys.aarch64 Move etc/ttys to sbin/init/. 2018-09-04 15:48:13 +00:00
ttys.amd64 Move etc/ttys to sbin/init/. 2018-09-04 15:48:13 +00:00
ttys.arm Move etc/ttys to sbin/init/. 2018-09-04 15:48:13 +00:00
ttys.i386 Move etc/ttys to sbin/init/. 2018-09-04 15:48:13 +00:00
ttys.mips Move etc/ttys to sbin/init/. 2018-09-04 15:48:13 +00:00
ttys.powerpc Move etc/ttys to sbin/init/. 2018-09-04 15:48:13 +00:00
ttys.riscv Move etc/ttys to sbin/init/. 2018-09-04 15:48:13 +00:00