HardenedBSD/stand
Stephen J. Kiernan 46b606c8fd userboot: support environment and symlinks in test application
Pass the environment on to the loader.
Also define USERBOOT=1 in the environment varables.

Add support for symlinks in the test application open callback.

stat the root directory when opening file
Without this, running "ls" command on the root directory encounters
issues getting the directory listing.

Reviewed by:	jhb
Obtained from:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D44625
2024-04-30 16:40:18 -04:00
..
arm64 stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
common loader: rename gfx_interp_md to gfx_interp_ref 2024-02-23 21:22:08 -07:00
defaults stand/lua: always allow overriding with local config files 2024-02-02 12:04:57 -07:00
efi stand: Install gptboot.efi(8) 2024-04-05 16:53:47 -06:00
fdt libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
ficl stand: Remove dangling mips references 2024-02-28 07:09:41 -07:00
ficl32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
fonts Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
forth loader.4th dictthreshold too small 2024-03-18 16:16:29 -07:00
i386 boot0: remove reference to fdisk 2024-03-25 15:59:09 -04:00
images Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
kboot kboot: kbootfdt: fix error handling 2024-03-11 15:21:52 -06:00
kshim Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
liblua loader: Add loader.exit 2024-02-26 20:49:46 -07:00
liblua32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
libofw libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
libsa loader/zfs: Fix to actually return the last error 2024-02-29 09:12:21 -07:00
libsa32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua loader/lua: Remove workaround for command_error 2024-02-29 10:58:59 -07:00
man loader.efi.8: Fix a typo 2023-11-22 13:25:34 +01:00
powerpc loader/powerpc: Share ldscript 2024-02-24 17:56:31 -07:00
uboot uboot/Makefile move BINDIR 2024-03-18 16:14:15 -07:00
usb Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
userboot userboot: support environment and symlinks in test application 2024-04-30 16:40:18 -04:00
defs.mk kboot: Add our own lua bindings 2024-02-15 20:59:23 -07:00
fdt.mk stand: Rename LIBFDT to LIBSAFDT 2023-11-07 09:57:32 -05:00
ficl.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
loader.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.amd64 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
veriexec.mk libsecureboot do not report expected unverified files 2024-02-12 14:35:01 -08:00