OpenBSD cvs log

created 2021-01-23T22:12:33Z
begin 2021-01-19T00:00:00Z
end 2021-01-20T00:00:00Z
path src/sys
commits 19

date 2021-01-19T07:29:42Z
author mvs
files src/sys/net/if_aggr.c log diff annotate
message aggr(4): convert ifunit() to if_unit(9)

ok dlg@

date 2021-01-19T07:30:19Z
author mvs
files src/sys/net/if_bpe.c log diff annotate
message bpe(4): convert ifunit() to if_unit(9)

ok dlg@

date 2021-01-19T07:31:05Z
author mvs
files src/sys/net/if_tpmr.c log diff annotate
message tpmr(4): convert ifunit() to if_unit(9)

ok dlg@

date 2021-01-19T07:31:47Z
author mvs
files src/sys/net/if_gre.c log diff annotate
message gre(4): convert ifunit() to if_unit(9)

ok dlg@

date 2021-01-19T12:29:07Z
author kettenis
files src/sys/arch/armv7/omap/gptimer.c log diff annotate
message Remove some unused #defines and remove some commented-out variables.

date 2021-01-19T13:21:36Z
author mpi
files src/sys/uvm/uvm_amap.c log diff annotate
src/sys/uvm/uvm_amap.h log diff annotate
src/sys/uvm/uvm_anon.c log diff annotate
src/sys/uvm/uvm_anon.h log diff annotate
src/sys/uvm/uvm_fault.c log diff annotate
src/sys/uvm/uvm_map.c log diff annotate
src/sys/uvm/uvm_page.c log diff annotate
src/sys/uvm/uvm_pager.c log diff annotate
message (re)Introduce locking for amaps & anons.

A rwlock is attached to every amap and is shared with all its anon. The
same lock will be used by multiple amaps if they have anons in common.

This should be enough to get the upper part of the fault handler out of the
KERNEL_LOCK() which seems to bring up to 20% improvements in builds.

This is based/copied/adapted from the most recent work done in NetBSD which
is an evolution of the precendent simple_lock scheme.

Tested by many, thanks!

ok kettenis@, mvs@

date 2021-01-19T17:41:51Z
author deraadt
files src/sys/kern/kern_pledge.c log diff annotate
message /etc/malloc.conf path-approval in pledge is no longer needed since 6.5
moved option control into a sysctl.
reminder that we can delete this from benjamin baier

date 2021-01-19T18:04:43Z
author kettenis
files src/sys/arch/arm/cortex/agtimer.c log diff annotate
src/sys/arch/arm/cortex/amptimer.c log diff annotate
src/sys/arch/armv7/omap/amdisplay.c log diff annotate
src/sys/arch/armv7/omap/dmtimer.c log diff annotate
src/sys/arch/armv7/omap/gptimer.c log diff annotate
src/sys/arch/armv7/omap/ommmc.c log diff annotate
src/sys/arch/armv7/omap/prcm.c log diff annotate
src/sys/arch/armv7/sunxi/sxitimer.c log diff annotate
message s/KHZ/kHz/ and reduce dmesg spam a bit

ok tb@, deraadt@

date 2021-01-19T18:07:15Z
author kettenis
files src/sys/arch/arm64/dev/agtimer.c log diff annotate
message s/KHz/kHz/ and reduce dmesg spam a bit

ok tb@, deraadt@

date 2021-01-19T19:14:39Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable athn(4)

date 2021-01-19T19:35:59Z
author mvs
files src/sys/nfs/nfs_boot.c log diff annotate
message nfs/nfs_boot.c: convert ifunit() to if_unit(9)

ok dlg@

date 2021-01-19T19:36:48Z
author mvs
files src/sys/kern/subr_disk.c log diff annotate
message kern/subr_disk.c: convert ifunit() to if_unit(9)

ok dlg@

date 2021-01-19T19:37:42Z
author mvs
files src/sys/net/pipex.c log diff annotate
message pipex(4): convert ifunit() to if_unit(9)

ok dlg@

date 2021-01-19T19:38:29Z
author mvs
files src/sys/net/if_pppoe.c log diff annotate
message pppoe(4): convert ifunit() to if_unit(9)

ok dlg@ kn@

date 2021-01-19T19:39:14Z
author mvs
files src/sys/net/if_switch.c log diff annotate
src/sys/net/switchofp.c log diff annotate
message switch(4): convert ifunit to if_unit(9)

ok dlg@

date 2021-01-19T19:39:58Z
author mvs
files src/sys/net/if_tun.c log diff annotate
message pipex(4): convert ifunit() to if_unit(9)

ok dlg@

date 2021-01-19T19:46:40Z
author kettenis
files src/sys/dev/fdt/mvkpcie.c log diff annotate
message Implement intx support.

ok patrick@

date 2021-01-19T21:52:59Z
author dlg
files src/sys/arch/sparc64/dev/com_ebus.c log diff annotate
message blacklist com on m3000s. our com code causes faults somehow.

console i/o still happens using ofw routines, which is Good Enough(tm)
for now. having a working machine means i can better test changes
now though.

ok deraadt@

date 2021-01-19T22:22:23Z
author bluhm
files src/sys/net/if_pflog.c log diff annotate
src/sys/net/pf.c log diff annotate
message pflog(4) tried to log the translated packet with rdr-to, nat-to,
and af-to addresses and ports applied. Therefore it created a mbuf
chain on the stack with a partial copy. This is too complicated
for IP options, extension header, NAT46 af-to, and fragmented mbuf
chains. It even caused a crash in syzkaller. Usually the length
checks in pf_setup_pdesc() rejected the faked mbuf and the goto
copy logged the packet unmodified. Remove the pflog_mtap() function
and call bpf_mtap_hdr() directly. As the old buggy code was bypassed
in most cases, tcpdump(8) output of pflog does not change.
Uncondionally log the unmodified packet.
Reported-by: [email protected]
OK sashan@