55358ee0 dim Jan. 22, 2022, 8:04 p.m.
* Use "yyyymmdd: description" format
* Remove dots at EOL

MFC after:	3 days
cgit
028a372f emaste Jan. 22, 2022, 7:46 p.m.
Disable the gdb packet run length encoding for 3-symbol repetitions.
While it is technically possible to encode them, they have no advantage
over sending the characters verbatim (the resulting length is the same)
and they result in sending non-printable \x1f character.  The protocol
has been designed with the intent of avoiding non-printable characters
and therefore the run length encoding is biased to emit \x20 (a space)
with the minimal intended run length of 4.

While at it, simplify the logic by merging the different 'if' blocks
into a single while loop, and moving 'runlen == 0' check lower.

Reviewed by:	cem, emaste
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33686
cgit
6f6fbfa3 emaste Jan. 22, 2022, 7:03 p.m.
The text after .error et al is emitted verbatim.

Reviewed by:	sjg
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33904
cgit
2075d00f emaste Jan. 22, 2022, 6:39 p.m.
%p already includes the 0x.

Sponsored by:	The FreeBSD Foundation
cgit
a393644e kib Jan. 22, 2022, 5:36 p.m.
Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D33986
cgit
fe6db727 kib Jan. 22, 2022, 5:36 p.m.
that disables any access to ptrace(2) for all processes.

Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D33986
cgit
55a0aa21 kib Jan. 22, 2022, 5:36 p.m.
Privilege checks in both functions should allow the current process to
infer information about itself, as well as use the interfaces that are
proclaimed 'debugging', for instance, procctl(2).

Note that in p_cansee() case, explicit comparision of curproc and p
avoids a race where the process might change credentials and cause
thread to compare its cached stale credentials against updated process
creds, effectively disallowing the process to observe itself.

Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D33986
cgit
3de96d66 kib Jan. 22, 2022, 5:34 p.m.
For non-anonymous swap objects, there is always a reference from the
owner to the object to keep it from recycling.  Account for it when
deciding should we query pmap for hardware active references for the
page.

As result, we avoid unneeded calls to pmap_ts_referenced(), which for
non-mapped page means avoiding unneccessary lock and unlock of the pv list.

Reviewed by:	markj
Discussed with:	alc
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D33924
cgit
0daa2805 wma Jan. 22, 2022, 1:48 p.m.
Add missing unlock if V_ip_mrotue is not set

Obtained from:		Semihalf
cgit
f89afaa1 se Jan. 22, 2022, 12:08 p.m.
An enhanced version of this script has been committed to the ports
repository as /usr/ports/Tools/scripts/port_conflicts_check.lua.
cgit
889c6050 wma Jan. 22, 2022, 10:48 a.m.
Add mising "else" branch to release a lock if mrouter is not
configured.

Obtained from:		Semihalf
Sponsored by:		Stormshield
cgit
fa669505 khng Jan. 21, 2022, 9:34 p.m.
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
cgit
b252fb24 freqlabs Jan. 21, 2022, 12:59 p.m.
An AHCI controller may be specified with no connected ports.  Avoid
dumping core in this case for compatibility with existing VM configs.

Reviewed by:	khng, jhb
Fixes:		621b5090487de Refactor configuration management in bhyve.
MFC after:	1 week
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D33969
cgit
eb815a74 takawata Jan. 21, 2022, 6:32 a.m.
SystemCMOS address space is accessible for system wide.
 So install address handler in \_SB space.

Reviewed by: jhb

Differential Revision: https://reviews.freebsd.org/D33892
cgit
5c69be70 takawata Jan. 21, 2022, 6:30 a.m.
atrtc(4) should always install a SystemCMOS address space handler unless
the RTC Not Present bit is not set in IAPC_BOOT_ARCH in the FADT.
The atrtc(4) driver already checks this bit, but _STA can return not-present
even when this bit is clear.

Reviewed by : jhb
Differential Revision: https://reviews.freebsd.org/D33891
cgit