Displaying 1 50 of 395,472 commits (0.105s)

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

OpenBSD — bin/df ext2fs_df.c

Avoid SIGFPE when parsing an invalid ext2fs through a raw device operation.

ok millert
Delta File
+4 -3 bin/df/ext2fs_df.c
+4 -3 1 file

OpenBSD — usr.sbin/rcctl rcctl.sh

svc_is_base function didn't catched all base daemons, apparently found
trying to manage rtadvd with it.

OK ajacoutot@
Delta File
+2 -2 usr.sbin/rcctl/rcctl.sh
+2 -2 1 file

OpenBSD — sys/arch/socppc/socppc machdep.c

Fix setregs() to correctly use ps_strings. ok kettenis@ mpi@
Delta File
+2 -2 sys/arch/socppc/socppc/machdep.c
+2 -2 1 file

OpenBSD — usr.bin/ssh canohost.c

Make sure we only call getnameinfo() for AF_INET or AF_INET6 sockets.
getpeername() of a Unix domain socket may return without error on
some systems without actually setting ss_family so getnameinfo()
was getting called with ss_family set to AF_UNSPEC.  OK djm@
Delta File
+17 -12 usr.bin/ssh/canohost.c
+17 -12 1 file

OpenBSD — sys/dev/pci if_iwm.c

Correctly set lowest_present_ofdm in iwm_mvm_ack_rates().

ok phessler@, stsp@
Delta File
+3 -3 sys/dev/pci/if_iwm.c
+3 -3 1 file

OpenBSD — usr.bin/units units.lib

update currency exchange rates;
Delta File
+42 -42 usr.bin/units/units.lib
+42 -42 1 file

OpenBSD — bin/csh csh.1, lib/libc/gen scandir.3

Reduce usage of predefined strings in manpages.

Predefined strings are not very portable across troff implementations,
and they make the source much harder to read. Usually the intended
character can be written directly.

No output changes, except for two instances where the incorrect escape
was used in the first place.

tweaks + ok schwarze@
Delta File
+24 -24 share/man/man7/eqn.7
+16 -16 usr.bin/systat/systat.1
+5 -12 usr.sbin/bgpd/bgpd.conf.5
+11 -6 lib/libc/sys/getrusage.2
+7 -7 sbin/atactl/atactl.8
+7 -7 usr.bin/openssl/openssl.1
+119 -122 29 files not shown
+189 -194 35 files

OpenBSD — sys/arch/sparc/conf files.sparc, sys/arch/sparc/dev zs.c cons.h

Move consinit() out of the bowels of the zs driver to its own file, in
preparation for systems which do not have console on a zs(4) device.
No functional change yet.

OpenBSD — sys/dev/ic elink3reg.h

Remove duplicated defines for window 7 registers.
Delta File
+1 -13 sys/dev/ic/elink3reg.h
+1 -13 1 file

OpenBSD — sys/dev/usb ehci.c

Prevent a race resulting in an infinite loop printing "ehci_idone" messages.

As soon as a transfer is being cancelled, remove it from the list of pending
xfers.  This way the soft interrupt routine won't try to process it before
ehci_abort() gives it back to the stack.

Problem analysed by and ok stsp@
Delta File
+15 -17 sys/dev/usb/ehci.c
+15 -17 1 file

OpenBSD — sys/dev/usb uhidev.c

Fix uhidev_get_report_async() from David Higgs.
Delta File
+7 -4 sys/dev/usb/uhidev.c
+7 -4 1 file

OpenBSD — sys/uvm uvm_page.c

Typo in comment 'reseve' -> 'reserve'
Delta File
+2 -2 sys/uvm/uvm_page.c
+2 -2 1 file

OpenBSD — share/man/man4 an.4

an(4) does not allow 'scan' as per the CAVEATS section of the man page.

discussed with jsg@
Delta File
+2 -6 share/man/man4/an.4
+2 -6 1 file

OpenBSD — sys/dev/pcmcia if_an_pcmcia.c

unbreak pcmcia an(4) by adding back some lines removed in rev 1.21
without this is won't attach.

ok stsp@ millert@ miod@
Delta File
+3 -1 sys/dev/pcmcia/if_an_pcmcia.c
+3 -1 1 file

OpenBSD — lib/libc/sys utimes.2

Be clear that when tv_nsec is set to UTIME_*, tv_sec is ignored.
OK guenther@
Delta File
+6 -3 lib/libc/sys/utimes.2
+6 -3 1 file

OpenBSD — usr.bin/usbhidaction usbhidaction.1

Bring example up to date with share/misc/usb_hid_usages.

ok millert@

OpenBSD — sys/arch/i386/include bus.h

Fix uvm_fault() seen with bwi (and some other devices?) on older non-apic i386

reported by Michael (lesniewskister (at) gmail.com)
ok miod@ (who did all the hard work)
Delta File
+2 -1 sys/arch/i386/include/bus.h
+2 -1 1 file