OpenBSD cvs log

created 2019-12-25T09:46:35Z
begin 2019-12-19T00:00:00Z
end 2019-12-20T00:00:00Z
path src/sys
commits 10

date 2019-12-19T09:01:50Z
author kettenis
files src/sys/dev/ipmi.c log diff annotate
src/sys/dev/ipmivar.h log diff annotate
message Use bus_size_t as the type for the base address.

ok deraadt@, dlg@

date 2019-12-19T10:15:21Z
author fcambus
files src/sys/dev/pv/if_vio.c log diff annotate
message Add size for free() in vio(4).

There is an existing allocsize variable tracking size of allocations,
turns out we can pass it to free in the error path.

OK florian@, mpi@

date 2019-12-19T12:04:38Z
author reyk
files src/sys/arch/sparc64/dev/vldcp.c log diff annotate
src/sys/dev/vscsi.c log diff annotate
src/sys/dev/usb/uhid.c log diff annotate
src/sys/net/switchctl.c log diff annotate
message poll handlers must return a poll(2) revents value, not errno(2) values.

Some drivers have returned ENXIO (6) if the device is not available
which incorrectly translates into POLLPRI|POLLOUT (2|4) in userland.

Change it to POLLERR for now, but it might as well be POLLHUP.

OK mpi@

date 2019-12-19T17:40:10Z
author mpi
files src/sys/kern/kern_bufq.c log diff annotate
src/sys/kern/kern_exit.c log diff annotate
message Convert infinite sleeps to {m,t}sleep_nsec(9).

ok visa@

date 2019-12-19T17:40:11Z
author mpi
files src/sys/kern/kern_fork.c log diff annotate
src/sys/kern/kern_malloc.c log diff annotate
src/sys/kern/kern_physio.c log diff annotate
src/sys/kern/kern_sensors.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
src/sys/kern/kern_task.c log diff annotate
message Convert infinite sleeps to {m,t}sleep_nsec(9).

ok visa@

date 2019-12-19T17:42:17Z
author mpi
files src/sys/arch/amd64/amd64/pmap.c log diff annotate
src/sys/arch/amd64/include/pmap.h log diff annotate
message Convert boolean_t/TRUE/FALSE to int/1/0 for coherency with the rest of
the kernel.

ok mlarkin@, visa@

date 2019-12-19T17:46:32Z
author mpi
files src/sys/arch/i386/i386/pmap.c log diff annotate
src/sys/arch/i386/i386/pmapae.c log diff annotate
src/sys/arch/i386/include/pmap.h log diff annotate
message Convert boolean_t/TRUE/FALSE to int/1/0 for coherency with the rest of
the kernel.

ok mlarkin@, visa@

date 2019-12-19T17:53:27Z
author mpi
files src/sys/arch/arm/arm/pmap7.c log diff annotate
src/sys/arch/arm/include/pmap.h log diff annotate
src/sys/arch/arm64/arm64/pmap.c log diff annotate
message Convert boolean_t/TRUE/FALSE to int/1/0 for coherency with the rest of
the kernel.

ok patrick@

date 2019-12-19T18:53:37Z
author anton
files src/sys/kern/sys_pipe.c log diff annotate
src/sys/sys/pipe.h log diff annotate
message Start protecting the pipe_peer member of `struct pipe' using the
pipe_lock. This add a potential sleeping point in the kqueue filter
routines which should be fine by now thanks to changes made to the
kqueue subsystem by visa.

ok visa@

date 2019-12-19T20:23:25Z
author jmc
files src/sys/dev/isa/if_ie.c log diff annotate
message spelling; from bryan stenson