Displaying 1 50 of 395,489 commits (1.869s)

OpenBSD — regress/usr.bin/ssh test-exec.sh forcecommand.sh

make it possible to run tests w/o ssh1 support; ok djm@

OpenBSD — usr.bin/mandoc eqn.c

In eqn, "prime" is equivalent to \(fm, and - is equivalent to \(mi.

ok schwarze@
Delta File
+4 -2 usr.bin/mandoc/eqn.c
+4 -2 1 file

OpenBSD — usr.bin/ssh Makefile.inc ssh-agent.c, usr.bin/ssh/lib Makefile

add SSH1 Makefile knob to make it easier to build without SSH1 support;
ok markus@

OpenBSD — usr.bin/mandoc man_html.c mdoc_html.c

If an eqn(7) starts on a new input line, be sure to output whitespace
in front of it.  Issue found by tedu@ in glOrtho(3).

There are also cases of excessive whitespace before and after
equations.  This patch neither fixes them nor makes them worse.

OpenBSD — regress/usr.bin/ssh/unittests/test_helper fuzz.c test_helper.c

expand __unused to full __attribute__ for better portability

OpenBSD — sys/dev/pci if_iwm.c

Set/clear the IWM_MAC_FILTER_IN_BEACON flag under conditions that match what
Linux does.

ok jsg@
Delta File
+4 -2 sys/dev/pci/if_iwm.c
+4 -2 1 file

OpenBSD — regress/usr.bin/ssh hostkey-rotate.sh

reorder logic for better portability; patch from Roumen Petrov

OpenBSD — share/zoneinfo/datfiles europe asia

Update to tzdata2015 from ftp.iana.org

OpenBSD — lib/libc/sys closefrom.2

sort sections;
Delta File
+4 -4 lib/libc/sys/closefrom.2
+4 -4 1 file

OpenBSD — sys/net hfsc.c

make sure hfsc_attach, hfsc_detach, hfsc_addqueue, hfsc_delqueue and
hfsc_qstats cope with a NULL ifp. Can happen when refering to nonexistant
interfaces from pf.conf. Problem noticed and fix tested by Kevin Chadwick
<ma1l1ists at yahoo.co.uk>, ok phessler benno
Delta File
+16 -3 sys/net/hfsc.c
+16 -3 1 file

OpenBSD — sys/dev/pci pcidevs_data.h pcidevs.h

regen

OpenBSD — sys/dev/pci pcidevs

Add Intel Dual Band Wireless AC 4165 PCI ids.

ok stsp@
Delta File
+3 -1 sys/dev/pci/pcidevs
+3 -1 1 file

OpenBSD — sys/net if.c

Fix a regression introduced when switching from rtsold to the kernel for
router solicitations. Send the router soliciation right away instead of
having a 60 second window between enabling SLAAC on the interface and the
router solicitation being sent.

ok florian@ stsp@ mpi@
Delta File
+3 -2 sys/net/if.c
+3 -2 1 file

OpenBSD — share/man/man4 iwm.4

11a works now.
Delta File
+2 -5 share/man/man4/iwm.4
+2 -5 1 file

OpenBSD — sys/dev/pci if_iwm.c

Fix 11a support.

ok stsp@
Delta File
+12 -20 sys/dev/pci/if_iwm.c
+12 -20 1 file

OpenBSD — usr.bin/ssh ssh.1 ssh.c

Allow "ssh -Q protocol-version" to list supported SSH protocol
versions. Useful for detecting builds without SSH v.1 support;
idea and ok markus@
Delta File
+7 -5 usr.bin/ssh/ssh.1
+8 -1 usr.bin/ssh/ssh.c
+15 -6 2 files

OpenBSD — lib/libc/sys poll.2

Fix variable name typo in IDIOMS.

ok millert@
Delta File
+3 -3 lib/libc/sys/poll.2
+3 -3 1 file

OpenBSD — sys/dev/pci if_iwm.c

match on 7265
ok kettenis@ stsp@ phessler@
Delta File
+3 -1 sys/dev/pci/if_iwm.c
+3 -1 1 file

OpenBSD — sys/dev/pci if_iwm.c

Make setting the MAC context bit for 11g protection when transmitting
OFDM frames conditional on the node via IEEE80211_F_USEPROT.

ok kettenis@
Delta File
+3 -2 sys/dev/pci/if_iwm.c
+3 -2 1 file

OpenBSD — sys/dev/pci if_iwm.c

Don't set CTS to self.  Linux stopped setting this back in
dc271ee0d04d12d6bfabacbec803289a7072fbd9 as it is known
to cause problems.

ok kettenis@
Delta File
+1 -2 sys/dev/pci/if_iwm.c
+1 -2 1 file

OpenBSD — sys/dev/pci if_iwm.c

sc_fixed_ridx is initialised to 0 but tested as it it were initialised
to -1.  The result of this is tx frames were always sent out at fixed
rate 0 instead of ni_txrate.

Match the iwn behaviour and test ic_fixed_rate for -1 instead.
Problem spotted by kettenis@ in an earlier diff.

ok kettenis@ stsp@
Delta File
+2 -2 sys/dev/pci/if_iwm.c
+2 -2 1 file

OpenBSD — regress/sbin/route Makefile rttest19.ok

Add three extra checks that test proper removal of the P flag. Currently 2 fail

OpenBSD — lib/libc/string strlcat.c

Update comment to match code; Caspar Schutijser
Delta File
+2 -2 lib/libc/string/strlcat.c
+2 -2 1 file

OpenBSD — lib/libc/sys poll.2

Document that POLLPRI and POLLRDBAND are set for out-of-band socket
data.
Delta File
+15 -2 lib/libc/sys/poll.2
+15 -2 1 file

OpenBSD — lib/libc/sys select.2

Document out-of-band data on a socket as an example of an exceptional
condition.
Delta File
+4 -2 lib/libc/sys/select.2
+4 -2 1 file

OpenBSD — sys/kern vfs_subr.c kern_prot.c, sys/sys ucred.h

Return EINVAL if the creds supplied for NFS export have a cr_ngroups less
than zero or greater than NGROUPS_MAX

Fixes panic seen by henning@
Delta File
+7 -3 sys/kern/vfs_subr.c
+5 -2 sys/kern/kern_prot.c
+2 -2 sys/sys/ucred.h
+14 -7 3 files

OpenBSD — usr.sbin/smtpd smtpd.conf.5

Cleanup smtpd.conf(5).

 - use literal <> around smtpd tables instead of Aq
 - mark up some directives as Ic (previously Ar or unmarked)
 - use Dq/Sq instead of " in a few appropriate places
 - use Bl -column instead of Bd -literal for tables

ok schwarze@
Delta File
+78 -66 usr.sbin/smtpd/smtpd.conf.5
+78 -66 1 file

OpenBSD — share/man/man4 iwm.4

Document that iwm(4) now supports 7265 and (hopefully) 3160 devices.
Delta File
+5 -5 share/man/man4/iwm.4
+5 -5 1 file

OpenBSD — lib/libc/sys closefrom.2

Document when closefrom() was added to OpenBSD.  OK bcook@
Delta File
+6 -1 lib/libc/sys/closefrom.2
+6 -1 1 file

OpenBSD — share/man/man4 athn.4

Add BUGS section to athn(4) man page to warn about broken hostap with USB.
Delta File
+4 -2 share/man/man4/athn.4
+4 -2 1 file

OpenBSD — sys/dev/usb if_athn_usb.c

Remove stray ')' from athn(4) "firmware command timed out" error message.
Delta File
+2 -2 sys/dev/usb/if_athn_usb.c
+2 -2 1 file

OpenBSD — lib/libc/sys closefrom.2

Note that closefrom is an extension.

suggested and ok reyk@
Delta File
+7 -2 lib/libc/sys/closefrom.2
+7 -2 1 file

OpenBSD — sys/dev/usb if_athn_usb.c

athn(4) USB drops received frames larger than MCLBYTES.
Count these dropped frames as input errors.
Delta File
+7 -1 sys/dev/usb/if_athn_usb.c
+7 -1 1 file

OpenBSD — sys/dev/usb if_athn_usb.c

Fix re-associations with athn(4) USB devices in station mode.

Sending the firmware a NODE_ADD command for our BSS doesn't seem to have the
desired effect in station mode. It made a new association after ifconfig
down/up impossible until the device was re-plugged. Leave the code in place
but limit it to hostap mode, just in case it is needed there (hard to tell
since hostap mode seems to be broken -- no beacons are sent by the device).

Also, when leaving run state, reset the RX filer to allow all beacons again.

ok mpi@
Delta File
+23 -6 sys/dev/usb/if_athn_usb.c
+23 -6 1 file

OpenBSD — usr.bin/mandoc read.c

If a non-gz manual is read after a gzipped manual, refrain
from throwing a bogus error "wait: No child processes".
As reported by Baptiste Daroussin <bapt at FreeBSD dot org>,
clearing the state variable curp->child after use was forgotten.
Delta File
+2 -1 usr.bin/mandoc/read.c
+2 -1 1 file

OpenBSD — sys/dev/usb if_athn_usb.c if_athn_usb.h

Rework ath(4) USB firmware command handling.

The previous code was racy and could dead-lock the USB task thread when a
firmware command timed out (e.g. because the user pulled out the device).
Handle this condition by marking the device as dying as soon as the interrupt
handler gets an IOERROR and making sleeping firmware command threads check
for a dying device when waking up.

Ensure that no thread will try to send a command before the previous one
has completed. There is only a single xfer data structure for firmware
command transfers and reusing an in-flight xfer will give the USB stack
curly toenails ("xfer not free").

Allow up to ATHN_USB_HOST_CMD_RING_COUNT firmware commands to be enqueued
on the command ring, rather than just one. Use standard usdb_wait_task()
when waiting for command ring completion instead of hand-rolled tsleep()s.

discussed with and ok mpi@

OpenBSD — lib/libc/asr gethostnamadr_async.c

gethostbyname(3) would fail when more than 16 addrs/aliases were returned.

Bump MAXADDRS/ALIASES to the original of 35, and silently ignore extras
instead of failing.

Noticed by markson on freenode.

OK eric@ "with revised diff", phessler@.

OpenBSD — sys/dev/pci if_iwm.c

Correctly set lowest_present_ofdm in iwm_mvm_ack_rates().
ok kettenis@
Delta File
+3 -3 sys/dev/pci/if_iwm.c
+3 -3 1 file

OpenBSD — sys/dev/pci if_iwm.c

init error to 0 in iwm_send_cmd()
ok stsp@ phessler@
Delta File
+2 -2 sys/dev/pci/if_iwm.c
+2 -2 1 file

OpenBSD — sys/dev/pci if_iwm.c

match iwn and init txrate at lowest available bit-rate
ok stsp@ phessler@
Delta File
+3 -2 sys/dev/pci/if_iwm.c
+3 -2 1 file

OpenBSD — sys/dev/pci if_iwm.c if_iwmvar.h

workaround for interrupt coalescing bug not needed on 7265
ok kettenis@ stsp@ phessler@
Delta File
+29 -21 sys/dev/pci/if_iwm.c
+3 -1 sys/dev/pci/if_iwmvar.h
+32 -22 2 files

OpenBSD — sys/dev/usb if_athn_usb.c if_athn_usb.h

Fix scanning with athn(4) USB devices.

The driver artificially limited the number of slots for nodes in its net80211
node cache to 8, the rationale being the device firmware can only handle 8
associated nodes at a time. But that's not a good reason to only cache 8 of
potentially many APs in the area.

Instead of crippling upper layer data structures, impose the limit locally
by raising an error if more than 8 nodes are trying to associate (which can
only happen in hostap mode, and hostap mode seems to be broken anyway).
This matches what Linux ath9k does.

Also, use a USB-specific scan timeout callback to we can do USB refcounting
while scanning.

ok mpi@

OpenBSD — sys/dev/pci if_iwm.c if_iwmvar.h

load the correct firmware for 3160/7265
ok kettenis@ stsp@ phessler@
Delta File
+18 -3 sys/dev/pci/if_iwm.c
+1 -2 sys/dev/pci/if_iwmvar.h
+19 -5 2 files

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

Fix a minor information leak that was introduced in t1_lib.c r1.71, whereby
an additional 28 bytes of .rodata (or .data) is provided to the network. In
most cases this is a non-issue since the memory content is already public.

Issue found and reported by Felix Groebert of the Google Security Team.

ok bcook@ beck@
Delta File
+2 -2 lib/libssl/src/ssl/t1_lib.c
+2 -2 1 file

OpenBSD — sys/dev/usb if_athn_usb.c

In athn(4), set USB pipe pointers to NULL after closing pipes. Not really
required since this code runs during device detach but looks prettier.
Also remove an unneeded call to usbd_abort_pipe() which is implied by
usbd_close_pipe().
ok mpi@
Delta File
+14 -6 sys/dev/usb/if_athn_usb.c
+14 -6 1 file

OpenBSD — sys/dev/usb if_athn_usb.c

Teach athn(4) about USB reference counting to prevent it from causing major
confusion in the USB stack. Also add some usbd_is_dying checks.
suggested by + ok mpi@
Delta File
+18 -2 sys/dev/usb/if_athn_usb.c
+18 -2 1 file

OpenBSD — sys/dev/pci mpii.c

Remove the mpsafe flag for mpii(4), it is a suspect in some kernel hangs I've
seen on MP kernels when doing bulk io transfers from a multithreaded program
(bacula-fd).  ok dlg@
Delta File
+2 -2 sys/dev/pci/mpii.c
+2 -2 1 file

OpenBSD — usr.sbin/ntpd ntp.c

remove unused variable

ok reyk@
Delta File
+2 -4 usr.sbin/ntpd/ntp.c
+2 -4 1 file

OpenBSD — usr.bin/openssl ciphers.c

use correct formatter (int, because of type promotion after operations)

ok jsing@
Delta File
+2 -2 usr.bin/openssl/ciphers.c
+2 -2 1 file

OpenBSD — usr.sbin/rcctl rcctl.sh

Extend previous.

ok sebastia@
Delta File
+2 -2 usr.sbin/rcctl/rcctl.sh
+2 -2 1 file