OpenBSD cvs log

created 2021-04-10T23:52:06Z
begin 2021-04-06T00:00:00Z
end 2021-04-07T00:00:00Z
path src/sys
commits 2

date 2021-04-06T00:19:58Z
author dv
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message Restore EPT protection checks on VMX when using VMM_IOC_MPROTECT_EPT

A prior fix related to lack of TLB flushing accidentally removed the
fault type checks related to the access protection features available
via the VMM_IOC_MPROTECT_EPT ioctl. This restores the same logic for
checking the fault type and the exit to userland if the fault is due
to EPT access protections.

While here, update the comment for vmx_fault_page to accurately
reflect the various potential return values.

Reported by Adam Steen.

OK mlarkin@

date 2021-04-06T14:17:35Z
author kn
files src/sys/sys/mount.h log diff annotate
message Print all mount(2) flags in ddb's "show all mounts"

Quite a few flags were never accounted for in MNT_BITS, resulting in bogus
debug output such as "flags 4205800<WXALLOWED,LOCAL,ROOTFS>" (integer value
does not match string interpretation, i.e. "SOFTDEP,SWAPPABLE" is missing).

Spotted while instrumenting "show all mounts" to report a softdep panic.

Feedback OK visa