OpenBSD cvs log

created 2018-11-29T14:27:37Z
begin 2018-04-28T00:00:00Z
end 2018-04-29T00:00:00Z
path src/sys
commits 16

date 2018-04-28T03:13:04Z
author visa
files src/sys/arch/sparc64/dev/vdsp.c log diff annotate
src/sys/dev/diskmap.c log diff annotate
src/sys/dev/vnd.c log diff annotate
src/sys/dev/usb/uvideo.c log diff annotate
src/sys/isofs/cd9660/cd9660_lookup.c log diff annotate
src/sys/isofs/cd9660/cd9660_node.c log diff annotate
src/sys/isofs/cd9660/cd9660_vfsops.c log diff annotate
src/sys/isofs/udf/udf_vfsops.c log diff annotate
src/sys/isofs/udf/udf_vnops.c log diff annotate
src/sys/kern/exec_script.c log diff annotate
src/sys/kern/init_main.c log diff annotate
src/sys/kern/kern_acct.c log diff annotate
src/sys/kern/kern_descrip.c log diff annotate
src/sys/kern/kern_exec.c log diff annotate
src/sys/kern/kern_ktrace.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
src/sys/kern/spec_vnops.c log diff annotate
src/sys/kern/tty.c log diff annotate
src/sys/kern/tty_pty.c log diff annotate
src/sys/kern/tty_tty.c log diff annotate
src/sys/kern/uipc_usrreq.c log diff annotate
message Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is always
curproc that does the locking or unlocking, so the proc parameter
is pointless and can be dropped.

OK mpi@, deraadt@

date 2018-04-28T03:13:05Z
author visa
files src/sys/kern/vfs_cache.c log diff annotate
src/sys/kern/vfs_getcwd.c log diff annotate
src/sys/kern/vfs_lookup.c log diff annotate
src/sys/kern/vfs_subr.c log diff annotate
src/sys/kern/vfs_sync.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
src/sys/kern/vfs_vnops.c log diff annotate
src/sys/kern/vfs_vops.c log diff annotate
src/sys/miscfs/fifofs/fifo_vnops.c log diff annotate
src/sys/miscfs/fuse/fuse_lookup.c log diff annotate
src/sys/miscfs/fuse/fuse_vnops.c log diff annotate
src/sys/msdosfs/msdosfs_denode.c log diff annotate
src/sys/msdosfs/msdosfs_lookup.c log diff annotate
src/sys/msdosfs/msdosfs_vfsops.c log diff annotate
src/sys/msdosfs/msdosfs_vnops.c log diff annotate
src/sys/nfs/nfs_node.c log diff annotate
src/sys/nfs/nfs_serv.c log diff annotate
src/sys/nfs/nfs_subs.c log diff annotate
src/sys/nfs/nfs_vfsops.c log diff annotate
src/sys/nfs/nfs_vnops.c log diff annotate
src/sys/ntfs/ntfs_vfsops.c log diff annotate
src/sys/ntfs/ntfs_vnops.c log diff annotate
src/sys/sys/vnode.h log diff annotate
src/sys/tmpfs/tmpfs_vnops.c log diff annotate
src/sys/ufs/ext2fs/ext2fs_inode.c log diff annotate
src/sys/ufs/ext2fs/ext2fs_lookup.c log diff annotate
src/sys/ufs/ext2fs/ext2fs_vfsops.c log diff annotate
src/sys/ufs/ext2fs/ext2fs_vnops.c log diff annotate
src/sys/ufs/ffs/ffs_softdep.c log diff annotate
src/sys/ufs/ffs/ffs_vfsops.c log diff annotate
src/sys/ufs/mfs/mfs_vnops.c log diff annotate
src/sys/ufs/ufs/ufs_inode.c log diff annotate
src/sys/ufs/ufs/ufs_lookup.c log diff annotate
src/sys/ufs/ufs/ufs_quota.c log diff annotate
src/sys/ufs/ufs/ufs_vnops.c log diff annotate
src/sys/uvm/uvm_vnode.c log diff annotate
message Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is always
curproc that does the locking or unlocking, so the proc parameter
is pointless and can be dropped.

OK mpi@, deraadt@

date 2018-04-28T07:44:44Z
author phessler
files src/sys/net/bfd.c log diff annotate
message add the socket lock around our use of sockets

date 2018-04-28T07:45:47Z
author phessler
files src/sys/net/bfd.c log diff annotate
src/sys/net/bfd.h log diff annotate
message use unsigned variables for things that we use as unsigned

noticed by clang

date 2018-04-28T07:46:56Z
author phessler
files src/sys/net/bfd.c log diff annotate
message properly delete the bfd configuration when it is disabled

date 2018-04-28T08:13:42Z
author phessler
files src/sys/net/bfd.c log diff annotate
message don't check if we still have the BFD flag set when sending a packet, as we
might be shutting the session down

date 2018-04-28T08:14:09Z
author phessler
files src/sys/net/bfd.c log diff annotate
message bump my copyright

date 2018-04-28T08:19:35Z
author mpi
files src/sys/dev/usb/xhcireg.h log diff annotate
message Correct IST macro and add a new macro for setting Frame IDs.

date 2018-04-28T08:20:23Z
author mpi
files src/sys/dev/usb/xhci.c log diff annotate
message Print more debug informations in the event xfer handler.

date 2018-04-28T11:17:08Z
author pirofti
files src/sys/dev/ic/pgt.c log diff annotate
message pgt(4): do not tsleep in the scan ioctl.

The only action taken during the scan ioctl was to sleep. This does not make
sense as the scanning process happens in the state machine behind the scenes.

Initialization indeed performs newstate(SCAN), but that is done no matter
if the user waits for the full results or not. Instead, this change unifies
the (new) user experience when performing ifconfig scan and shows the
nodes list produced by the latest background scan.

This was not tested on real hardware.
Please message me directly in case this broke your card.

OK stsp@, deraadt@

date 2018-04-28T12:49:21Z
author kn
files src/sys/kern/kern_pledge.c log diff annotate
message Remove redundant error check

error is set by copyinstr(9) only and we return early if it is non-zero,
so the loop's last condition is always true.

OK deraadt, jca

date 2018-04-28T14:45:28Z
author stsp
files src/sys/net80211/ieee80211_crypto.c log diff annotate
message If ieee80211_encrypt() is passed a key with an unrecognized cipher
type then panic immediately instead of silently dropping packets.

ok phessler@

date 2018-04-28T14:46:10Z
author stsp
files src/sys/net80211/ieee80211_crypto.c log diff annotate
message Fix WEP key selection in ieee80211_get_txkey().

The WEP key index is stored in ic_def_txkey. The iGTK ("integrity group key")
index is specific to WPA. The previous code happened to always select WEP key
index 0 since the iGTK index is not yet used by any driver.

ok phessler@

date 2018-04-28T14:49:07Z
author stsp
files src/sys/dev/ic/pgt.c log diff annotate
src/sys/dev/usb/if_atu.c log diff annotate
src/sys/net80211/ieee80211.c log diff annotate
src/sys/net80211/ieee80211_node.c log diff annotate
src/sys/net80211/ieee80211_node.h log diff annotate
src/sys/net80211/ieee80211_proto.c log diff annotate
message When starting a background scan, free the nodes table to ensure we
get an up-to-date view of APs around us. In particular, we need to
kick out the AP we are associated to. Otherwise, our current AP might
stay cached if it is turned off while we are scanning, and we could
end up picking a now non-existent but "good looking" AP over and over.

found with and ok phessler@

date 2018-04-28T15:44:59Z
author jasper
files src/sys/arch/amd64/amd64/bios.c log diff annotate
src/sys/arch/amd64/amd64/cpu.c log diff annotate
src/sys/arch/amd64/amd64/via.c log diff annotate
src/sys/arch/amd64/pci/pchb.c log diff annotate
src/sys/arch/hppa/gsc/harmony.c log diff annotate
src/sys/arch/i386/i386/bios.c log diff annotate
src/sys/arch/i386/i386/cpu.c log diff annotate
src/sys/arch/i386/i386/via.c log diff annotate
src/sys/arch/i386/pci/glxsb.c log diff annotate
src/sys/arch/i386/pci/pchb.c log diff annotate
src/sys/arch/octeon/dev/octrng.c log diff annotate
src/sys/arch/sparc64/dev/vrng.c log diff annotate
src/sys/dev/rnd.c log diff annotate
src/sys/dev/rndvar.h log diff annotate
src/sys/dev/acpi/acpihve.c log diff annotate
src/sys/dev/fdt/bcm2835_rng.c log diff annotate
src/sys/dev/fdt/mvrng.c log diff annotate
src/sys/dev/ic/ccp.c log diff annotate
src/sys/dev/pci/amdpm.c log diff annotate
src/sys/dev/pci/hifn7751.c log diff annotate
src/sys/dev/pci/safe.c log diff annotate
src/sys/dev/pci/ubsec.c log diff annotate
src/sys/dev/pci/bktr/bktr_core.c log diff annotate
src/sys/dev/pv/viornd.c log diff annotate
src/sys/dev/pv/vmt.c log diff annotate
src/sys/dev/usb/uonerng.c log diff annotate
src/sys/dev/usb/urng.c log diff annotate
src/sys/dev/wscons/wsmouse.c log diff annotate
src/sys/kern/kern_tc.c log diff annotate
src/sys/kern/subr_disk.c log diff annotate
src/sys/kern/tty.c log diff annotate
src/sys/net/if.c log diff annotate
message replace add_*_randomness with enqueue_randomness()

this gets rid of the source annotation which doesn't really add
anything other than adding complexitiy. randomess is generally
good enough that the few extra bits that the source type would
add are not worth it.

ok mikeb@ deraadt@

date 2018-04-28T16:05:56Z
author phessler
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/pgt.c log diff annotate
src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwn.c log diff annotate
src/sys/dev/pci/if_wpi.c log diff annotate
src/sys/dev/usb/if_atu.c log diff annotate
message Some drivers handle settting a new wifi link state manually, so make sure
they flush old nodes and set the interface link state to down, like the
framework does.

OK stsp@ pirofti@