Displaying 1 50 of 397,181 commits (0.098s)

OpenBSD — sys/dev/usb xhci.c

Improve the controller state check in xhci_reset

From FreeBSD, OK mpi
Delta File
+3 -2 sys/dev/usb/xhci.c
+3 -2 1 file

OpenBSD — sys/arch/armv7/armv7 platform.c

call exynos_platform_match() if the kernel is compiled with exynos devices
Delta File
+6 -1 sys/arch/armv7/armv7/platform.c
+6 -1 1 file

OpenBSD — usr.bin/ssh ssh-pkcs11.c

support PKCS#11 devices with external PIN entry devices
bz#2240, based on patch from Dirk-Willem van Gulik;
feedback and ok dtucker@
Delta File
+20 -12 usr.bin/ssh/ssh-pkcs11.c
+20 -12 1 file

OpenBSD — sys/arch/armv7/conf files.armv7 Makefile.armv7, sys/arch/armv7/exynos exdisplay.c exehci.c

make the exynos code compile without fdt
ok bmercer@

OpenBSD — sys/arch/armv7/exynos crosec_kbd.c

make this build with WSDISPLAY_COMPAT_RAWKBD defined
ok bmercer@

OpenBSD — usr.bin/ssh kexgexc.c compat.h

Cap DH-GEX group size at 4kbits for Cisco implementations.  Some of them
will choke when asked for preferred sizes >4k instead of returning the 4k
group that they do have.  bz#2209, ok djm@

OpenBSD — lib/libc/arch/vax/string memcpy.S

Bring back `1:' label removed by mistake in 1.7. Complained loudly about by gas
2.17, while 2.15 didn't care, which just caused a cold shiver accross my spine.
Delta File
+2 -2 lib/libc/arch/vax/string/memcpy.S
+2 -2 1 file

OpenBSD — libexec/ld.so Makefile

Better cross-compilation check
Delta File
+2 -2 libexec/ld.so/Makefile
+2 -2 1 file

OpenBSD — lib/libssl/ssl Makefile

Use a relative path against BSDOBJDIR to pick libcrypto; makes cross-lib
work again.
Delta File
+2 -2 lib/libssl/ssl/Makefile
+2 -2 1 file

OpenBSD — lib/libc/asr asr.c asr_private.h

simply use _PATH_HOSTS where appropriate

OpenBSD — sys/dev/pci if_vio.c

Fix missing vlan.h include in if_vio.c

patch by jsg@
Delta File
+7 -1 sys/dev/pci/if_vio.c
+7 -1 1 file

OpenBSD — gnu/usr.bin/binutils-2.17/bfd elf32-m88k.c

Improve diffability against m68k.

OpenBSD — usr.bin/audioctl audioctl.c

Exposes number of bytes processed by the sound card (as returned
by AUDIO_GET{I,O}OFFS) instead of the number of bytes processed
minus the xruns (as returned by AUDIO_GETINFO).

ok armani
Delta File
+9 -3 usr.bin/audioctl/audioctl.c
+9 -3 1 file

OpenBSD — sys/net pf.c

Don't create ICMP states on reply packets unless tracking states sloppy

Since we've strengthened the ICMP state matching procedure during lookup
to only match packets against states set up in a particular direction, we
need to make sure we don't create states on packets that would otherwise
be flowing in the direction opposite to the direction of the state and
prevent further packets from matching the created state due to strict
rules imposed by the ICMP direction check.

Problem reported by Alexandr Nedvedicky, alexandr.nedvedicky-at-oracle.com.
Discussed with reyk@;  OK henning
Delta File
+7 -2 sys/net/pf.c
+7 -2 1 file

OpenBSD — sys/net80211 ieee80211_output.c ieee80211_input.c

Use if_output() instead of rerolling it.

ok stsp@

OpenBSD — etc/mail Makefile

Create aliases.db from the installed aliases file, so we get the correct
owner and group.  Reported by Mark Patruck.  ok deraadt@ miod@
Delta File
+2 -2 etc/mail/Makefile
+2 -2 1 file

OpenBSD — sys/dev/pci if_vmx.c

bump the number of tx and rx descriptors from 128 up to 512.
Delta File
+3 -3 sys/dev/pci/if_vmx.c
+3 -3 1 file

OpenBSD — sys/net route.c, sys/netinet in.c

Store the IP address of the corresponding ifa in the rt_gateway field
of RTF_CLONING and RTF_BROASCAST routes to not create MPATH conflicts
when IP address aliases are used.

This change makes it possible to have multiple RTF_CLONING routes with
the same priority.  Note that any of the existing RTF_CLONING route
might be used by the kernel to create a RTF_CLONED route which should
not be a problem with aliases since they are attached to the same ifp.

This unbreak address aliases since the kernel supports multiple connected
routes for a subnet.

Found the hardway by djm@, ok claudio@

OpenBSD — sys/net route.c

Normalize route destination before checking for MPATH conflicts.

This makes rt_mpath_conflict() work as expected when adding routes
with the same destination and the same netmask.

With and ok claudio@
Delta File
+18 -14 sys/net/route.c
+18 -14 1 file

OpenBSD — sys/netinet if_ether.c

Do not create ARP entries for RTF_BROADCAST routes.

This has been done because historically routes to broadcast addresses
were cloned like any ARP entry.  But for obvious reasons, no matching
Ethernet address could ever be resolved.  That's why we played tricks
with the expire timer.

Now that a RTF_BROADCAST route is created per configured IPv4 address,
we need to differenciate duplicated one.  And by not creating an ARP
entry we are allowed to write the IP address in the rt_gateway field,
which prevents MPATH conflicts.

This change is part of a fix to unbreak aliases since the kernel support
multiple connected routes for a subnet.

Found the hardway by djm@, ok claudio@
Delta File
+3 -15 sys/netinet/if_ether.c
+3 -15 1 file

OpenBSD — sys/net if_ethersubr.c if_trunk.c

Now that the Ethernet header is always passed as part of the mbuf, kill
the second (unused) argument of the input packet handlers.

ok dlg@

OpenBSD — sys/net if_ethersubr.c if.c

move add_net_randomness from ether_input to the if_input task.

change it from feeding the ethertype of the packet (which is almost
certainly an ip packet or vlan packet, so not that variable) to the
number of packets about to be processed.

ok deraadt@ mpi@

OpenBSD — sys/dev/isa if_ie.c

More than 100+ drivers converted to if_input(), this is the last "real" one.

ok dlg@
Delta File
+11 -106 sys/dev/isa/if_ie.c
+11 -106 1 file

OpenBSD — distrib/sets/lists/base md.armv7

Delta File
+25 -0 distrib/sets/lists/base/md.armv7
+25 -0 1 file

OpenBSD — distrib/armv7/ramdisk list

include the firmware for usb devices on the armv7 ramdisk
Delta File
+23 -1 distrib/armv7/ramdisk/list
+23 -1 1 file

OpenBSD — lib/libssl/src/crypto opensslfeatures.h

Add OPENSSL_NO_EGD to opensslfeatures.h.

Since RAND_egd has been removed from LibreSSL, simplify porting software that
relies on it. See https://github.com/libressl-portable/openbsd/pull/34

from Bernard Spil, ok deraadt@

OpenBSD — sys/net if_vlan.c

make vlans inherit their parents hardmtu as well as mtu.

from brad@ and tested locally.
Delta File
+10 -10 sys/net/if_vlan.c
+10 -10 1 file

OpenBSD — sys/dev/microcode/atmel Makefile, sys/dev/microcode/kue Makefile

Build all the firmware for usb devices on armv7.

OpenBSD — sys/arch/armv7/conf GENERIC RAMDISK

Sync usb devices with amd64.
Prompted by djm noticing uslcom(4) was not included.

OpenBSD — sbin/wsconsctl Makefile, usr.sbin/wsconscfg Makefile

build wsconsctl and wsconscfg on armv7

OpenBSD — sys/net pfkeyv2_convert.c

fix panic for real and revert previous rev 1.52
from markus@
sorry for the mixup
Delta File
+6 -6 sys/net/pfkeyv2_convert.c
+6 -6 1 file

OpenBSD — lib/libc/asr getaddrinfo_async.c

Kill outdated comment.

ok eric@
Delta File
+2 -2 lib/libc/asr/getaddrinfo_async.c
+2 -2 1 file

OpenBSD — lib/libssl/src/ssl s3_lib.c

Make SSL_CIPHER_get_bits() report ChaCha20-Poly1305 ciphers as using
256bit keys

problem noted by Tim Kuijsten (info (at) netsend.nl)
ok deraadt@ miod@ bcook@
Delta File
+4 -4 lib/libssl/src/ssl/s3_lib.c
+4 -4 1 file

OpenBSD — lib/libc/asr res_search_async.c getaddrinfo_async.c

Skip search domains iteration if RES_DNSRCH and/or RES_DEFNAMES is unset.

prodded by Brad
ok jca@

OpenBSD — sbin/ipsecctl ike.c ipsec.conf.5

bump up the default Diffie-Hellman group to modp3072; ok mikeb@ djm@

OpenBSD — lib/libc/asr getnameinfo.c

getnameinfo(3) doesn't need to initialize the resolver when it's only used
for address/port formatting (e.g. NI_NUMERICHOST).

ok deraadt@ jca@
Delta File
+150 -1 lib/libc/asr/getnameinfo.c
+150 -1 1 file

OpenBSD — sys/net pfkeyv2_convert.c

fix a panic in import_identities() in case the ID isnt loaded
(triggered by bgpd).
ok marku at s, mikeb@
Delta File
+5 -3 sys/net/pfkeyv2_convert.c
+5 -3 1 file

OpenBSD — sys/dev/isa isa.c

Initialize ipa_ndrq in isascan() too...
Delta File
+2 -1 sys/dev/isa/isa.c
+2 -1 1 file

OpenBSD — sys/dev/pckbc pms.c

Match newer elantech v4 touchpads, logic taken from Linux.

Based on a submission from and ok jcs@.
Delta File
+2 -2 sys/dev/pckbc/pms.c
+2 -2 1 file

OpenBSD — usr.sbin/ntpd ntp.c

only scan sensors if they are configured
ok bcook
Delta File
+18 -16 usr.sbin/ntpd/ntp.c
+18 -16 1 file

OpenBSD — gnu/usr.bin/binutils-2.17/bfd elf32-m88k.c config.bfd, gnu/usr.bin/binutils-2.17/binutils readelf.c

Port the ELF m88k work to binutils 2.17. Good enough to build a booting
kernel, and hopefully userland as well.

OpenBSD — share/misc airport

Delta File
+4 -3 share/misc/airport
+4 -3 1 file

OpenBSD — sys/dev/usb uoak_subr.c

Make this build when using the __STRICT_ALIGNMENT version of USETW.
Delta File
+2 -2 sys/dev/usb/uoak_subr.c
+2 -2 1 file

OpenBSD — gnu/usr.bin/binutils-2.17 configure.in configure, gnu/usr.bin/binutils-2.17/bfd config.bfd

vax ELF bits for binutils 2.17.

OpenBSD — sys/arch/sparc/dev if_ie.c

Convert from ether_input() with separate mbuf data and Ethernet header, to
if_input(). Based upon an initial diff from mpi@, and then painfully made
STRICT_ALIGNMENT-compliant. Tested on 4/260.
ok mpi@
Delta File
+54 -148 sys/arch/sparc/dev/if_ie.c
+54 -148 1 file

OpenBSD — gnu/usr.bin/binutils-2.17/ld/emulparams shelf_obsd.sh elf64alpha_obsd.sh

Change ENTRY to __start to match binutils 2.15, needed for static PIE

OpenBSD — sys/dev/usb ugen.c

Prevent a use after free in by closing all open endpoints upon detach.

Fix a panic reported by landry@ with Android's ADB.

Tested and ok ajacoutot@
Delta File
+30 -14 sys/dev/usb/ugen.c
+30 -14 1 file

OpenBSD — usr.sbin/pkg_add/OpenBSD Add.pm AddDelete.pm

allow pkg_add as nonroot to soft-fail when outside of local base.

OpenBSD — sys/sys tree.h

a dreaded whitespace; Kyle Milz
Delta File
+2 -2 sys/sys/tree.h
+2 -2 1 file

OpenBSD — sys/dev rnd.c

missing word in comment; Kyle Milz
Delta File
+2 -2 sys/dev/rnd.c
+2 -2 1 file