freebsd-dev/sys
Bruce Evans 6fd2dcd428 Fix zapping of static hints and env in init_static_kenv(). Environments
are terminated by 2 NULs, but only 1 NUL was zapped.  Zapping only 1
NUL just splits the first string into an empty string and a corrupted
string.  All other strings in static hints and env remained live early
in the boot when they were supposed to be disabled.

Support calling init_static_kenv() very early in the boot, so as to
use the env very early in the boot.  Then the pointer to the loader
env may change after the first call due to enabling paging or otherwise
remapping the pointer.  Another call is needed to register the change.
Don't use the previous pointer in this (or any) later call.

Reviewed by:	kib
2019-02-05 15:34:55 +00:00
..
amd64 Enable COVERAGE and KCOV by default on arm64 and amd64. 2019-02-03 12:46:27 +00:00
arm arm, acpi: increase size of memory region arrays 2019-02-05 06:25:35 +00:00
arm64 Enable COVERAGE and KCOV by default on arm64 and amd64. 2019-02-03 12:46:27 +00:00
bsm Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
cam Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
cddl s/Maximal/Maximum/ in sysctl description. 2019-02-04 20:09:22 +00:00
compat Fix compilation with 'option NDISAPI + device ndis' and 2019-01-30 11:40:12 +00:00
conf Only enable trace-cmp on Clang and modern GCC. 2019-02-04 16:55:24 +00:00
contrib Remove two more #ifdefs missed in r343701. 2019-02-04 05:37:16 +00:00
crypto Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
ddb ddb: Enable 'thread <address>' 2018-10-20 20:45:49 +00:00
dev netmap: refactor logging macros and pipes 2019-02-05 12:10:48 +00:00
dts [rpi] Reorganize spigen(4) overlays for Raspberry Pi 2019-01-16 01:08:34 +00:00
fs ext2fs: Add some extra consistency checks for the superblock. 2019-01-25 22:22:29 +00:00
gdb
geom geom_uzip(4): set 'gp != NULL' assertion on top of the function 2019-01-26 17:17:25 +00:00
gnu Import DTS from Linux 4.20 2019-01-11 09:40:34 +00:00
i386 Use NLDT to get number of LDTs on i386 2019-02-04 18:07:03 +00:00
isa Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
kern Fix zapping of static hints and env in init_static_kenv(). Environments 2019-02-05 15:34:55 +00:00
kgssapi
libkern mcount: tidy up ANSIfication 2018-10-20 22:39:35 +00:00
mips Make iflib a loadable module. 2019-01-31 19:05:56 +00:00
modules qlnxr(4), qlnxe(4): Unbreak gcc build 2019-02-01 23:04:45 +00:00
net o As illustrated by e. g. figure 7-14 of the Intel 82599 10 GbE 2019-02-04 20:46:57 +00:00
net80211 net80211(4): do not setup Tx parameters for unsupported modes. 2019-02-03 04:31:50 +00:00
netgraph Allow ng_nat to be attached to a ethernet interface directly via ng_ether(4) 2018-12-17 16:00:35 +00:00
netinet Only reduce the PMTU after the send call. The only way to increase it, is 2019-02-05 10:29:31 +00:00
netinet6 New pfil(9) KPI together with newborn pfil API and control utility. 2019-01-31 23:01:03 +00:00
netipsec Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
netpfil Return PFIL_CONSUMED if packet was consumed. While here gather all 2019-02-02 05:49:05 +00:00
netsmb Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
nfs
nfsclient
nfsserver
nlm
ofed Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
opencrypto Plug memory leak for AES_*_NIST_GMAC algorithms. 2018-12-13 08:59:51 +00:00
powerpc powerpc: Don't idle with the wait instruction on booke 2019-02-05 04:47:41 +00:00
riscv Follow arm[32] and sparc64 KAPI and provide the FreeBSD standard spelling 2019-01-29 20:10:27 +00:00
rpc Add kern.rpc.gss.client_max, to make it possible to bump it easily. 2018-12-15 11:32:11 +00:00
security Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
sparc64 Make iflib a loadable module. 2019-01-31 19:05:56 +00:00
sys Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
teken Fix function keys for syscons in cons25 mode (vidcontrol -T cons25). 2019-02-01 16:07:49 +00:00
tests Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
tools make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH 2018-12-14 23:53:28 +00:00
ufs This bug was introduced with the change to use softdep_bp_to_mp() in 2019-01-28 21:36:45 +00:00
vm Allow vm_page_free_prep() to dequeue pages without the page lock. 2019-02-03 18:43:20 +00:00
x86 Update CPUID bits definitions and CPU identification based on changes 2019-02-04 23:57:59 +00:00
xdr
xen xen: introduce a new way to setup event channel upcall 2019-01-30 11:34:52 +00:00
Makefile