OpenBSD cvs log

created 2018-11-29T23:08:12Z
begin 2018-07-05T00:00:00Z
end 2018-07-06T00:00:00Z
path src/sys
commits 18

date 2018-07-05T00:00:18Z
author bluhm
files src/sys/kern/vfs_lookup.c log diff annotate
message Plug a vnode leak in namei(). If the file system is unmounted
during name lookup, the directory vnode was not released. Add a
vrele() to the error return path. NetBSD has added a vput() there
after we imported the check.
OK krw@ visa@

date 2018-07-05T03:48:45Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): add some utility functions for checking vcpu cpl and mode

ok pd@, guenther@

date 2018-07-05T04:36:14Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): print guest vcpu mode and cpl in debug output if VM crashes

date 2018-07-05T05:07:03Z
author mlarkin
files src/sys/arch/amd64/include/vmmvar.h log diff annotate
message forgot to commit vmmvar.h needed by previous two commits, thanks ccardenas
for noticing.

date 2018-07-05T10:09:11Z
author fcambus
files src/sys/dev/pci/viapm.c log diff annotate
message Add support for the VIA VX900 chipset in viapm(4).

OK kettenis@

date 2018-07-05T11:51:37Z
author patrick
files src/sys/dev/pci/if_bwfm_pci.c log diff annotate
message Cast physical addresses to 64-bits so we can shift them by 32-bit on
32-bit platforms without the compiler complaining. In the end the
value will turn out as 0 anyway. Allows enabling bwfm(4) on 32-bit
platforms.

ok stsp@

date 2018-07-05T11:54:43Z
author patrick
files src/sys/arch/i386/conf/GENERIC log diff annotate
message Enable bwfm(4).

Requested by brad@
Tested by fcambus@
ok stsp@

date 2018-07-05T11:59:26Z
author benno
files src/sys/net/rtsock.c log diff annotate
message not all route messages have a priority. Move the priority filter check
where it belongs. Problem spotted by by remi@
ok sthen@ claudio@ krw@

date 2018-07-05T13:48:06Z
author benno
files src/sys/net/rtsock.c log diff annotate
message RTM_BFD route messages are also a special case. suggested by claudio@,
ok phessler@

date 2018-07-05T14:27:52Z
author sthen
files src/sys/arch/amd64/amd64/aes_intel.S log diff annotate
message backout r1.11 "Add retguard macros for kernel asm", ok deraadt

after starting iked kernel enters ddb with:

Stopped at aesni_ctr_enc+0xd8: int $3

date 2018-07-05T14:42:30Z
author visa
files src/sys/kern/kern_kthread.c log diff annotate
message Grab the KERNEL_LOCK() in kthread_create(9) to enable unlocked code
paths create kernel threads. This will be utilized by sosplice()
for the taskq allocation.

OK mpi@

date 2018-07-05T14:45:07Z
author visa
files src/sys/kern/uipc_socket.c log diff annotate
message Serialize the sosplice taskq allocation. This prevents an unlikely
duplicate allocation that could happen in the future when each socket
has a dedicated lock. Right now, the code path is serialized also by
the NET_LOCK() (and the KERNEL_LOCK()).

OK mpi@

date 2018-07-05T15:31:04Z
author mpi
files src/sys/kern/syscalls.master log diff annotate
message Put back sendto(2) and sendmsg(2) under KERNEL_LOCK().

malloc(9) is apparently not mpsafe as found the hardway by sthen@.

date 2018-07-05T15:31:51Z
author mpi
files src/sys/kern/init_sysent.c log diff annotate
src/sys/kern/syscalls.c log diff annotate
src/sys/sys/syscall.h log diff annotate
src/sys/sys/syscallargs.h log diff annotate
message regen

date 2018-07-05T15:34:25Z
author mpi
files src/sys/miscfs/fuse/fuse_vfsops.c log diff annotate
message Do not leak memory and a fp reference when !root passes `allow_other'.

Fix CID 1470236.

ok helg@

date 2018-07-05T19:25:38Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/arch/arm64/conf/files.arm64 log diff annotate
src/sys/arch/arm64/dev/acpipci.c log diff annotate
src/sys/arch/arm64/include/pci_machdep.h log diff annotate
src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/dsdt.h log diff annotate
message Add acpipci(4), a driver that supports generic ECAM-compatible PCI host
bridges based on information provided by ACPI.

ok mlarkin@

date 2018-07-05T21:16:52Z
author bluhm
files src/sys/netinet/raw_ip.c log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
message It was possible to leak the control mbuf in raw ip user request
with sendmsg(2) and MSG_OOB. Sync the code in udp, rip, and
rip6_usrreq. Add an inp NULL check in rip6_usrreq for consistency.
OK benno@ mpi@

date 2018-07-05T21:48:32Z
author sthen
files src/sys/net/rtsock.c log diff annotate
message fix comment: s/always send/always sent/