OpenBSD cvs log

created 2018-11-30T00:11:00Z
begin 2018-07-22T00:00:00Z
end 2018-07-23T00:00:00Z
path src/sys
commits 3

date 2018-07-22T06:31:17Z
author anton
files src/sys/kern/vfs_syscalls.c log diff annotate
message Avoid a NULL pointer deref when calling fchown() on a file descriptor belonging
to a cloned device.

ok kettenis@

date 2018-07-22T09:09:18Z
author sf
files src/sys/net/pf.c log diff annotate
src/sys/net/pf_ioctl.c log diff annotate
src/sys/net/pfvar.h log diff annotate
message Fix arguments of pf_purge_expired_{src_nodes,rules}()

Due to the missing "void", this

extern void pf_purge_expired_src_nodes();

is no prototype but a declaration. It is enough to suppress the
'implicit declaration' warning but it does not allow the compiler to
check the arguments passed to the calls of the function.

Fix the prototypes and don't pass the waslocked argument anymore. It has
been removed a year ago.

ok sashan henning

date 2018-07-22T14:33:44Z
author kettenis
files src/sys/uvm/uvm_map.c log diff annotate
message In uvm_map_protect(), make sure we select a first map entry that ends after
the start of the range of pages that we're changing. Prevents a panic from
a somewhat convoluted test case that anton@ came up with.

ok guenther@, anton@