OpenBSD cvs log

created 2021-01-02T18:41:33Z
begin 2020-11-16T00:00:00Z
end 2020-11-17T00:00:00Z
path src/sys
commits 14

date 2020-11-16T06:37:07Z
author gnezdo
files src/sys/kern/kern_sysctl.c log diff annotate
message Convert kern_sysctl to sysctl_bounded_args

objdump -h changes in Size of kern_sysctl.o on amd64
before after
.text 7140 64b0
.data 24 40
.bss 10 14
.rodata 50 338

date 2020-11-16T06:38:20Z
author gnezdo
files src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
message Remove the cases folded into sysctl_bounded_args but left behind

divert_sysctl and divert6_sysctl get a tiny bit slimmer.

date 2020-11-16T06:42:12Z
author gnezdo
files src/sys/kern/kern_sysctl.c log diff annotate
message Convert hw_sysctl to sysctl_bounded_args

This one is surprisingly a minor loss if one were to simply add bytes
on amd64:
.text+.data+.bss+.rodata
before 0x64b0+0x40+0x14+0x338 = 0x683c
after 0x6440+0x48+0x14+0x3b8 = 0x6854

date 2020-11-16T06:44:38Z
author gnezdo
files src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
message Replace sysctl_rdint with sysctl_bounded_args entries in net.inet*

date 2020-11-16T06:44:39Z
author gnezdo
files src/sys/netinet6/ip6_input.c log diff annotate
message Replace sysctl_rdint with sysctl_bounded_args entries in net.inet*

date 2020-11-16T07:40:19Z
author kevlo
files src/sys/dev/pci/pcidevs log diff annotate
message Add PCI ids for Intel 2.5Gb adapters.

ok jsg@

date 2020-11-16T07:40:59Z
author kevlo
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2020-11-16T09:49:10Z
author patrick
files src/sys/dev/usb/usbdevs log diff annotate
message Move PL2303GC around to make sure the list is sorted properly.

date 2020-11-16T09:49:40Z
author patrick
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message regen

date 2020-11-16T12:30:16Z
author mpi
files src/sys/uvm/uvm_fault.c log diff annotate
message Remove Case2 goto, use a simple if () instead.

ok tb@, jmatthew@

date 2020-11-16T14:46:00Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
message Add multicast support to bwfm(4) to make IPv6 work and to fix
promiscuous mode.

ok gerhard@

date 2020-11-16T17:12:55Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
message Fix compile error on big-endian machines caused by recent multicast commit.

date 2020-11-16T18:37:06Z
author jsing
files src/sys/kern/kern_exit.c log diff annotate
message Prevent exit status from being clobbered on thread exit.

Ensure that EXIT_NORMAL only runs once by guarding it with PS_EXITING.

It was previously possible for EXIT_NORMAL to be run twice, depending on
which thread called exit() and the order in which the threads were torn
down. This is due to the P_HASSIBLING() check triggering the last thread
to run EXIT_NORMAL, even though it may have already been run via an exit()
call.

ok kettenis@ visa@

date 2020-11-16T19:04:57Z
author kettenis
files src/sys/arch/powerpc64/conf/GENERIC log diff annotate
src/sys/arch/powerpc64/conf/RAMDISK log diff annotate
message Enable mcx(4)