Remove dangerous user-settable "addr" variable from MI boot loader, and
authormiod <miod@openbsd.org>
Thu, 23 Feb 2023 19:48:21 +0000 (19:48 +0000)
committermiod <miod@openbsd.org>
Thu, 23 Feb 2023 19:48:21 +0000 (19:48 +0000)
commita4f11372d5ec16405c3947a49e9200b89358d82d
treecc22b49bc46cd26ff9c062ddc34bd83647118e00
parent8b6dc78cd2c7bb25ed687e3e9cf9c45ab5aa824d
Remove dangerous user-settable "addr" variable from MI boot loader, and
only compile tty-related code (stty command, tty variable) on platforms
where it makes sense for the boot loader to control it, rather than the
PROM/firmware/whatever.
34 files changed:
sys/arch/amd64/stand/Makefile.inc
sys/arch/amd64/stand/boot/boot.8
sys/arch/amd64/stand/efi32/exec_i386.c
sys/arch/amd64/stand/efi64/exec_i386.c
sys/arch/amd64/stand/efiboot/exec_i386.c
sys/arch/amd64/stand/libsa/libsa.h
sys/arch/arm64/stand/efiboot/libsa.h
sys/arch/armv7/stand/efiboot/Makefile
sys/arch/armv7/stand/efiboot/libsa.h
sys/arch/hppa/stand/boot/Makefile
sys/arch/hppa/stand/boot/boot.8
sys/arch/hppa/stand/cdboot/cdboot.c
sys/arch/hppa/stand/libsa/libsa.h
sys/arch/i386/stand/Makefile.inc
sys/arch/i386/stand/boot/boot.8
sys/arch/i386/stand/libsa/libsa.h
sys/arch/landisk/stand/boot/boot.8
sys/arch/landisk/stand/boot/devs.c
sys/arch/landisk/stand/boot/libsa.h
sys/arch/loongson/stand/boot/libsa.h
sys/arch/loongson/stand/boot/machdep.c
sys/arch/luna88k/stand/boot/boot.8
sys/arch/luna88k/stand/boot/init_main.c
sys/arch/luna88k/stand/boot/libsa.h
sys/arch/macppc/stand/boot.8
sys/arch/macppc/stand/libsa.h
sys/arch/macppc/stand/main.c
sys/arch/macppc/stand/ofdev.h
sys/arch/riscv64/stand/efiboot/Makefile
sys/arch/riscv64/stand/efiboot/libsa.h
sys/stand/boot/boot.c
sys/stand/boot/cmd.c
sys/stand/boot/cmd.h
sys/stand/boot/vars.c