]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC Loader Fixes 2017q1: r311458,r312237,r312314,r312374,r312947,r313042,
authorkevans <kevans@FreeBSD.org>
Sat, 10 Feb 2018 04:37:44 +0000 (04:37 +0000)
committerkevans <kevans@FreeBSD.org>
Sat, 10 Feb 2018 04:37:44 +0000 (04:37 +0000)
commitabb4747a6540a289cb8ffdd4600b34444020b3ef
tree4377aadfe89f3ec7f845b3189ff3744580bedcc9
parent911d824aa2f13cfe8297dfdde44fe069203dcba8
MFC Loader Fixes 2017q1: r311458,r312237,r312314,r312374,r312947,r313042,
r313047,r313166,r313328,r313332,r313333,r313337,r313348,r313349,r313389,
r313442,r313451,r313575,r313645,r313710,r314114,r314213,r314275,r314945,
r314948,r315008,r315408,r315427,r315645,r315646,r315648,r315653,r315850,
r316064,r316078,r316079,r316100,r316104,r316111,r316112,r316171,r316279,
r316280,r316287,r316311,r316343,r316424,r316436

r311458: Use compiler driver to link BERI boot loaders

r312237: loader.efi: find_currdev() can leak memory

r312314: loader: move device path definitions to include/efidevp.h

r312374: loader: efi devpath api usage should be more aware of NULL pointers

r312947: Remove "-Xassembler -G0" from CFLAGS.

r313042: loader.efi environment related cleanups

r313047: loader: disk/part api needs to use uint64_t offsets

r313166: loader: libefi/env.c warnings in arm build

r313328: loader: Implement disk_ioctl() to support DIOCGSECTORSIZE and
DIOCGMEDIASIZE.

r313332: loader: bcache read ahead block count should take account the large
sectors

r313333: loader: Replace EFI part devices.

r313337: loader: 313329 missed ZFS guard in loader/main.c

r313348: loader: biosdisk fix for 2+TB disks

r313349: loader: disk io should not use alloca()

r313389: efipart is also using the '%S' printf format, add -Wno-format for
it.

r313442: loader: possible NULL pointer dereference in efipart.c

r313451: loader: possible NULL pointer dereference in bcache.c

r313575: makefs: make the buffer functions look exactly like the kernel ones

r313645: loader: implement MEDIA_FILEPATH_DP support in efipart

r313710: loader: cstyle fixes and DIOCGMEDIASIZE should use uint64_t

r314114: Use LDFLAGS with CC instead of _LDFLAGS.

r314213: Remove control+r handling from geliboot's pwgets()

r314275: Remove unused macro from common/drv.c.

r314945: Some style(9) fixes. No functional changes.

r314948: Try to extract the RFC1048 data from PXE.

r315008: r314948 seems to be missing a variable or two that will break

r315408: loader: remove open_disk cache

r315427: loader: biosdisk should report IO error from INT13

r315645: loader: disk_cleanup was left in userboot_disk.c

r315646: loader: pxe.h constants have wrong values

r315648: libstand: verify value provided by nfs.read_size

r315653: loader: verify the value from dhcp.interface-mtu and use snprintf
o set mtu

r315850: The original author abused Nd (one-line description, used by
makewhatis)

r316064: Fix build with path names with 'align' or 'nop' in them.

r316078: gpt*boot: Save a bit more memory when LOADER_NO_GELI_SUPPORT is
specified

r316079: Simply retire the sedification of the boot2.s file.

r316100: Remove -fno-guess-branch-probability and -fno-unit-at-a-time.

r316104: Use `NO_WCAST_ALIGN` instead of spelling it out as -Wno-cast-align
in CFLAGS

r316111: loader: move bios getsecs into time.c

r316112: loader: ls command should display file types properly

r316171: xfsread inlined uses more space, so remove the inline tag.

r316279: loader: efipart should check disk size from partition table

r316280: loader: simplify efi_zfs_probe and avoid double probing for zfs.

r316287: Remove OLD_NFSV2 from loader and libstand

r316311: Add explicit_bzero() to libstand, and switch GELIBoot to using it

r316343: Implement boot-time encryption key passing (keybuf)

r316424: Fix sparc64 build broken by r316343 and r316076

r316436: Restore EFI boot environment functionality broken in r313333

PR: 216940 217298 217935
72 files changed:
lib/libstand/Makefile
lib/libstand/bootp.c
lib/libstand/bootp.h
lib/libstand/nfs.c
lib/libstand/nfsv2.h
lib/libstand/stand.h
sys/boot/common/bcache.c
sys/boot/common/bootstrap.h
sys/boot/common/dev_net.c
sys/boot/common/disk.c
sys/boot/common/disk.h
sys/boot/common/ls.c
sys/boot/common/part.c
sys/boot/common/part.h
sys/boot/efi/include/efidevp.h
sys/boot/efi/include/efilib.h
sys/boot/efi/libefi/Makefile
sys/boot/efi/libefi/devpath.c
sys/boot/efi/libefi/efinet.c
sys/boot/efi/libefi/efipart.c
sys/boot/efi/libefi/env.c
sys/boot/efi/libefi/wchar.c [new file with mode: 0644]
sys/boot/efi/loader/conf.c
sys/boot/efi/loader/devicename.c
sys/boot/efi/loader/main.c
sys/boot/forth/beastie.4th.8
sys/boot/forth/loader.4th
sys/boot/geli/Makefile
sys/boot/geli/geliboot.c
sys/boot/geli/geliboot.h
sys/boot/geli/geliboot_crypto.c
sys/boot/geli/geliboot_internal.h [new file with mode: 0644]
sys/boot/geli/pwgets.c
sys/boot/i386/boot2/Makefile
sys/boot/i386/boot2/boot2.c
sys/boot/i386/btx/lib/btxv86.h
sys/boot/i386/common/bootargs.h
sys/boot/i386/common/drv.c
sys/boot/i386/gptboot/Makefile
sys/boot/i386/gptboot/gptboot.c
sys/boot/i386/gptzfsboot/Makefile
sys/boot/i386/libi386/bioscd.c
sys/boot/i386/libi386/biosdisk.c
sys/boot/i386/libi386/bootinfo32.c
sys/boot/i386/libi386/bootinfo64.c
sys/boot/i386/libi386/pxe.c
sys/boot/i386/libi386/pxe.h
sys/boot/i386/libi386/time.c
sys/boot/i386/loader/Makefile
sys/boot/i386/loader/main.c
sys/boot/i386/zfsboot/zfsboot.c
sys/boot/mips/beri/boot2/Makefile
sys/boot/mips/beri/common/common.ldscript
sys/boot/mips/beri/loader/beri_disk_cfi.c
sys/boot/mips/beri/loader/beri_disk_sdcard.c
sys/boot/mips/beri/loader/loader.ldscript
sys/boot/sparc64/loader/Makefile
sys/boot/uboot/lib/disk.c
sys/boot/usb/storage/umass_loader.c
sys/boot/userboot/userboot/userboot_disk.c
sys/boot/zfs/libzfs.h
sys/boot/zfs/zfs.c
sys/crypto/intake.h [new file with mode: 0644]
sys/geom/eli/g_eli.c
sys/geom/eli/g_eli.h
sys/opencrypto/crypto.c
sys/sys/linker.h
usr.sbin/makefs/ffs.c
usr.sbin/makefs/ffs/buf.c
usr.sbin/makefs/ffs/buf.h
usr.sbin/makefs/ffs/ffs_alloc.c
usr.sbin/makefs/ffs/ffs_balloc.c