r325744 emaste Nov. 12, 2017, 5:15 p.m.
r325681 fixed a NULL pointer dereference on RPi3 caused by a lack of
functionality in uboot's EFI implementation.  That rev checked the boot1
load path for NULL but not the load device.  In practice if the former
works the latter will as well, but improve correctness by checking each
separately.

Submitted by:	Keith White <kwhite@eecs.uottawa.ca>
Reported by:	jhb
MFC after:	5 days
MFC with:	r325681
Sponsored by:	The FreeBSD Foundation
ViewVC
r325743 imp Nov. 12, 2017, 5:10 p.m.
There were two things wrong. First, the wrong path was listed in .PATH
statement. Second, BOOTSRC wasn't yet defined for the .PATH, so it
didn't properly add it. Third, even if these were right, . was in the
path before, so it wouldn't have worked. Replace this with a simple
loop so the proper loader.rc gets selected.

Noticed by: dhw@ (menus stopped working on boot)
Sponsored by: Netflix
ViewVC
r325742 bapt Nov. 12, 2017, 9:42 a.m.
Pointyhat to:	bapt
ViewVC
r325741 oshogbo Nov. 12, 2017, 8:54 a.m.
dhclient(8) is chrooted so opening /dev/null always will fail.
In capability world this is also annoying because we getting error that
open(2) is not permitted in Capsicum. dhclient(8) is closing stdio by
precaching fd to /dev/null before chroot.
This is done few lines below daemon(3) function so let's not try to do that
in daemon(3) function.

Reviewed by:	cem@
Differential Revision:	https://reviews.freebsd.org/D12826
ViewVC
r325740 oshogbo Nov. 12, 2017, 8:42 a.m.
dhclient(8) is failing during boot to connect to the syslog service, because
syslog daemon is started after dhclient(8). This can be reproduced by stooping
syslog daemon and ktrace the dhclient or use kern.trap_enotcap sysctl and boot
the machine. Using the Casper syslog service fix the problem.

Reviewed by:	bapt@
Differential Revision:	https://reviews.freebsd.org/D12825
ViewVC
r325739 oshogbo Nov. 12, 2017, 8:34 a.m.
syslog in libc secretly reconnects to the daemon.
Another issue is that we don't have any information from openlog(3) if we
succeeded to open log or not so we don't know if we are ready
to enter cabability mode.
Because all of that we decided we need a syslog service for Caspser.

Reviewed by:	bapt@
Differential Revision:	https://reviews.freebsd.org/D12824
ViewVC
r325738 bapt Nov. 12, 2017, 8:31 a.m.
This files hasn't been used since groff(1) was introduced in base 23 years ago.
ViewVC
r325737 bapt Nov. 12, 2017, 8 a.m.
MFC after:	3 days
ViewVC
r325736 oshogbo Nov. 12, 2017, 7:18 a.m.
function, so check if cap_chanel_t is NULL is not enough.
Casper with a normal libc will still fail in capability mote so let's not
enter capability mode without casper support when we need to resolve DNS.

Reviewed by:	cem
Differential Revision:	https://reviews.freebsd.org/D12823
ViewVC
r325735 will Nov. 12, 2017, 3:28 a.m.
r325734 mjg Nov. 12, 2017, 3:13 a.m.
Discussed with:	jhb
ViewVC
r325733 mjg Nov. 12, 2017, 2:34 a.m.
No functional changes.
ViewVC
r325732 will Nov. 12, 2017, 1:36 a.m.
r325729 will Nov. 12, 2017, midnight
r325728 will Nov. 11, 2017, 11:30 p.m.
This API allows callers to enumerate all known pages, including any
direct map & kernel map virtual addresses, physical addresses, size,
offset into the core, & protection configured.

For architectures that support direct map addresses, also generate pages
for any direct map only addresses that are not associated with kernel
map addresses.

Fix page size portability issue left behind from previous kvm page table
lookup interface.

Reviewed by:	jhb
Sponsored by:	Backtrace I/O
Differential Revision:	https://reviews.freebsd.org/D12279
ViewVC