freebsd-skq/stand/libsa
imp 614ead52a0 Remove the 'mini libstand in libstand' that util.[ch] provided. These
weren't needed, and their existance interfered with things in subtle
ways. One of these subtle ways was that malloc could be different
based on what files were included when (even within the same .c file,
it turns out). Move to a single malloc implementation as well by
adding the calls to setheap() to gptboot.c and zfsboot.c. Once upon a
time, these boot loaders strove to not use libstand. However, with the
proliferation of features, that striving is too hard for too little
gain and lead to stupid mistakes.

This fixes the GELI-enabled (but not even using) boot environment. The
geli routines were calling libstand malloc but zfsboot.c and gptboot.c
were using the mini libstand malloc, so this failed when we tried to
probe for GELI partitions. Subtle changes in build order when moving
to self-contained stand build in r326593 toggled what it used from one
type to another due to odd nesting of the zfs implementation code that
differed subtly between zfsloader and zfsboot.

Sponsored by: Netflix
2017-12-15 23:16:53 +00:00
..
amd64
i386
mips
powerpc
sparc64
__main.c
arp.c
assert.c
bcd.c
bootp.c dhcp_try_rfc1048() is not used any more 2017-12-06 06:49:53 +00:00
bootp.h dhcp_try_rfc1048() is not used any more 2017-12-06 06:49:53 +00:00
bootparam.c
bootparam.h
bzipfs.c
cd9660.c Use the kernel relative paths, rather than the userland relative paths 2017-12-05 21:37:50 +00:00
close.c
closeall.c
crc32.c
crc32.h
dev.c
dosfs.c
dosfs.h
environment.c Make putenv and getenv match the userland definition of these 2017-12-06 02:00:00 +00:00
ether.c
ext2fs.c
fstat.c
getopt.c
gets.c
globals.c
gpt.c Remove the 'mini libstand in libstand' that util.[ch] provided. These 2017-12-15 23:16:53 +00:00
gpt.h
gzipfs.c
in_cksum.c
inet_ntoa.c
ioctl.c
iodesc.h
ip.c
libstand.3 Make putenv and getenv match the userland definition of these 2017-12-06 02:00:00 +00:00
lseek.c
Makefile Put the files we're copying over into a few variables and add them to 2017-12-08 19:57:06 +00:00
Makefile.depend
nandfs.c
net.c
net.h
netif.c
netif.h
nfs.c
nfsv2.h
nullfs.c
open.c
pager.c
panic.c
pkgfs.c
printf.c
qdivrem.c
quad.h
random.c Fix random() and srandom() prototypes to match the standard. 2017-12-02 00:07:19 +00:00
rarp.c
read.c
readdir.c
rpc.c
rpc.h
rpcv2.h
saioctl.h
sbrk.c Panic in sbrk if setheap hasn't been called yet. This is preferable to 2017-12-15 23:16:47 +00:00
splitfs.c
stand.h Remove the 'mini libstand in libstand' that util.[ch] provided. These 2017-12-15 23:16:53 +00:00
stat.c
strcasecmp.c
strdup.c
strerror.c
strtol.c
strtoul.c
tftp.c
tftp.h
twiddle.c
udp.c
ufs.c
ufsread.c
uuid_from_string.c
uuid_to_string.c
write.c
zalloc_defs.h
zalloc_malloc.c
zalloc_mem.h
zalloc_protos.h
zalloc.c