Displaying 1 50 of 516,121 commits (0.071s)

OpenBSD — sys/dev/usb usbdi.c

Make it clear that dma buffers are link to xfers, no functional change.
Delta File
+5 -8 sys/dev/usb/usbdi.c
+5 -8 1 file

OpenBSD — sys/dev/usb xhci.c

If an event is dequeued just/right after a device is detached, its pipes
might be NULL.  Prevent from crashing in this case 8)
Delta File
+11 -2 sys/dev/usb/xhci.c
+11 -2 1 file

OpenBSD — sys/dev/usb if_athn_usb.c

atheros ub94 support, from Matt Markfort
Delta File
+3 -1 sys/dev/usb/if_athn_usb.c
+3 -1 1 file

OpenBSD — sys/dev/usb usbdevs_data.h usbdevs.h


OpenBSD — sys/dev/usb usbdevs

add atheros ub94. from Matt Markfort
Delta File
+2 -1 sys/dev/usb/usbdevs
+2 -1 1 file

OpenBSD — usr.sbin/rarpd rarpd.c

convert select() to poll().  Bit more complicated here.  Some interesting
discussion with millert about POLLHUP, which is not needed here because
this is a bpf description, but indicates we need to consider that elsewhere.
ok millert
Delta File
+22 -23 usr.sbin/rarpd/rarpd.c
+22 -23 1 file

OpenBSD — usr.bin/openssl s_server.c

Remove ephemeral RSA key handling.
Delta File
+4 -43 usr.bin/openssl/s_server.c
+4 -43 1 file

OpenBSD — usr.bin/openssl s_server.c

Use automatic DH ephemeral parameters instead of fixed 512 bit.

Based on OpenSSL.
Delta File
+23 -38 usr.bin/openssl/s_server.c
+23 -38 1 file

OpenBSD — sys/dev/usb xhci.c

Enable timeouts, just in case(tm).

Even if it's very handy to know where a thread is sleeping in order to
debug HC drivers, users might not like to have to restart their machine
if a transfer timed and nothing will wakeup the discovery thread.

Note that I still haven't seen any hardware timeout in all my tests.
Delta File
+7 -30 sys/dev/usb/xhci.c
+7 -30 1 file

OpenBSD — lib/libevent event.h

Libevent has compatibilty wrappers in evutil.  OpenBSD does not use
them anymore, but evutil is still part of libevent's interface.
Separate the API of evutil from libevent and do not include evutil.h
from event.h automatically.  A version bump is not necessary as the
library itself does not change.
Bulk ports build done by landry@ had no fallout.
OK nicm@ deraadt@
Delta File
+6 -3 lib/libevent/event.h
+6 -3 1 file

OpenBSD — lib/libc/stdio mktemp.c

Use "const char tempchars[]" instead of "const char *tempchars".
Since tempchars is never reassigned there's no need to indirect
through a pointer.  Still getting used to this newfangled C89.
Delta File
+2 -2 lib/libc/stdio/mktemp.c
+2 -2 1 file

OpenBSD — lib/libssl/src/ssl tls1.h

Remove an outdated comment re EDH vs DHE - DHE is now used consistently and
there are backwards compatible names/aliases for EDH.
Delta File
+1 -8 lib/libssl/src/ssl/tls1.h
+1 -8 1 file

OpenBSD — lib/libssl/src/ssl tls1.h

Update comments for TLS ExtensionType values - many of the referenced
drafts are now RFCs. Also add the TLS extension type for ALPN and be
consistent with RFC reference formatting.
Delta File
+46 -38 lib/libssl/src/ssl/tls1.h
+46 -38 1 file

OpenBSD — lib/libssl/ssl shlib_version

Crank libssl major due to recent additions, removals and changes.
Delta File
+2 -2 lib/libssl/ssl/shlib_version
+2 -2 1 file

OpenBSD — lib/libssl/src/ssl ssl.h ssl3.h

Remove now unused remnants from public structs.

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

Add support for automatic DH ephemeral keys.

This allows an SSL server to enable DHE ciphers with a single setting,
which results in an DH key being generated based on the server key length.

Partly based on OpenSSL.

OpenBSD — sys/dev/usb usb_mem.c

Even in interrupt context curproc is not NULL.

ok miod@
Delta File
+2 -9 sys/dev/usb/usb_mem.c
+2 -9 1 file

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

Remove support for ephemeral/temporary RSA private keys.

The only use for these is via SSL_OP_EPHEMERAL_RSA (which is effectively
a standards violation) and for RSA sign-only, should only be possible if
you are using an export cipher and have an RSA private key that is more
than 512 bits in size (however we no longer support export ciphers).

ok bcook@ miod@

OpenBSD — distrib/sets/lists/base md.luna88k md.armish, distrib/sets/lists/comp mi


OpenBSD — regress/lib Makefile, regress/lib/libressl Makefile

Update regress for the libressl to libtls rename.

OpenBSD — usr.sbin/httpd server.c httpd.h

Update httpd(8) to use libtls instead of libressl.

OpenBSD — usr.bin/ftp fetch.c main.c

Update ftp(1) to use libtls instead of libressl.

OpenBSD — include Makefile, lib Makefile

Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).

Discussed with many.
Delta File
+316 -0 lib/libtls/tls_init.3
+0 -316 lib/libressl/ressl_init.3
+300 -0 lib/libtls/tls.c
+0 -300 lib/libressl/ressl.c
+0 -225 lib/libressl/ressl_verify.c
+225 -0 lib/libtls/tls_verify.c
+845 -874 20 files not shown
+1,686 -1,715 26 files

OpenBSD — usr.bin/make engine.c

    redirect error output to stderr instead of stdout
    stderr is always unbuffered by default, so zap fflush(3) its no longer makes any sense 
    reminded by espie@
    OK espie@
Delta File
+2 -3 usr.bin/make/engine.c
+2 -3 1 file

OpenBSD — lib/libevent Makefile

Use CDIAGFLAGS from bsd.own.mk and append additional warning flags.
All warnings have been fixed in libevent.
OK nicm@
Delta File
+10 -11 lib/libevent/Makefile
+10 -11 1 file

OpenBSD — sys/dev/usb usbdi.c usbdivar.h

Use understandable messages when the per-xfer poison value is incorrect.
Prodded by a comment from stsp@.
Delta File
+8 -11 sys/dev/usb/usbdi.c
+2 -4 sys/dev/usb/usbdivar.h
+10 -15 2 files

OpenBSD — sys/arch/vax/vax autoconf.c

The config logic with "rl needs-flag" got
removed back in 2011.  Remove code under #if NRL > 0.
ok miod@
Delta File
+1 -26 sys/arch/vax/vax/autoconf.c
+1 -26 1 file

OpenBSD — sys/arch/hppa/gsc gsckbc.c

remove a duplicate pckbdvar.h include under NGSCKBD > 0
gsckbd was removed back in 2008 so this was never defined.
Delta File
+3 -6 sys/arch/hppa/gsc/gsckbc.c
+3 -6 1 file

OpenBSD — sys/dev/ic cy.c

remove unused and uneeded includes under NCY_ISA > 0 and NCY_PCI > 0
where cy.h is not included.
discovered with a script from guenther@
Delta File
+1 -11 sys/dev/ic/cy.c
+1 -11 1 file

OpenBSD — usr.sbin/rcctl rcctl.sh

Make default output matches status. Hackish but we are not allowed to
use svc_default_enabled_flags like any other function...
Delta File
+4 -2 usr.sbin/rcctl/rcctl.sh
+4 -2 1 file

OpenBSD — usr.sbin/rcctl rcctl.sh

Useless use of sed(1).

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

OpenBSD — sys/arch/loongson/dev apm.c

#if NSWDISPLAY > 0 -> #if NWSDISPLAY > 0
now wsdisplay_suspend() will run on suspend
Delta File
+2 -2 sys/arch/loongson/dev/apm.c
+2 -2 1 file

OpenBSD — sys/arch/amd64/amd64 pmap.c

Fix a missing include in amd64 pmap.c that resulted in an erroneous memory
map entry being entered in uniprocessor (UP) kernels. Multiprocessor (MP)
kernels not affected.

ok guenther, deraadt
Delta File
+3 -1 sys/arch/amd64/amd64/pmap.c
+3 -1 1 file

OpenBSD — sys/dev/usb uhci.c usbdivar.h

XFER_FREE is not used, ciao.
Delta File
+1 -6 sys/dev/usb/uhci.c
+1 -2 sys/dev/usb/usbdivar.h
+2 -8 2 files

OpenBSD — lib/libc/stdlib malloc.3

clean up verbiage around the calculations; ok ingo jmc otto
Delta File
+6 -6 lib/libc/stdlib/malloc.3
+6 -6 1 file

OpenBSD — lib/libc/stdlib malloc.3

Don't mention old systems where realloc(NULL, n) didn't work as we
don't want to give people the idea that this is non-portable (it
has been present since C89).  OK deraadt@ schwarze@
Delta File
+7 -11 lib/libc/stdlib/malloc.3
+7 -11 1 file

OpenBSD — regress/sys/kern/sosplice/perf Makefile

Add some pkill and sleep to make socket splicing performance tests
more reliable.

OpenBSD — regress/usr.bin/mandoc/mdoc/Bd offset-empty.in offset-empty.out_ascii, regress/usr.bin/mandoc/mdoc/Bl offset.in offset.out_ascii

Major bugsquashing with respect to -offset and -width:
1. Support specifying the .Bd and .Bl -offset as a macro default width;
while here, simplify the code handling the same for .Bl -width.
2. Correct handling of .Bl -offset arguments:  unlike .Bd -offset, the
arguments "left", "indent", and "indent-two" have no special meaning.
3. Fix the scaling of string length -offset and -width arguments in -Thtml.
Triggered by an incomplete documentation patch from bentley@.

OpenBSD — sys/dev softraid.c

muliply to get correct size for free. reported by kspillner
Delta File
+2 -2 sys/dev/softraid.c
+2 -2 1 file

OpenBSD — sys/dev/usb xhci.c

Do not use void * for pointer artithmetics, it's a GNU extension, from
Patrick Wildt.
Delta File
+3 -3 sys/dev/usb/xhci.c
+3 -3 1 file

OpenBSD — sys/dev/pci xhci_pci.c, sys/dev/usb xhci.c xhcivar.h

Do not enable interrupts before attaching usb(4), fix a panic when an
Express Card is plugged with USB devices on it.

While here do not print an unitialized error value if xhci_init() fails,
from Patrick Wildt.

OpenBSD — sys/dev/usb xhci.c

Calculate the Route String when attaching a new device.  This is still
not enough to attach Super Speed devices below USB 3 hubs, but we're
getting there.

While here reset `acten` when re-enqueuing an interrupt transfers.
Delta File
+29 -13 sys/dev/usb/xhci.c
+29 -13 1 file

OpenBSD — regress/usr.bin/mandoc Makefile.inc

for convenience, let obj-clean imply clean

OpenBSD — sys/dev softraid_crypto.c

zero the correct size, then free it.
Delta File
+4 -4 sys/dev/softraid_crypto.c
+4 -4 1 file

OpenBSD — sys/dev softraid_crypto.c softraid.c

add some sizes to free()
Delta File
+13 -16 sys/dev/softraid_crypto.c
+11 -17 sys/dev/softraid.c
+24 -33 2 files

OpenBSD — lib/libevent kqueue.c event.c

Fix whitespace errors in libevent.
OK nicm@
Delta File
+15 -15 lib/libevent/kqueue.c
+11 -11 lib/libevent/event.c
+10 -10 lib/libevent/log.c
+9 -9 lib/libevent/event.h
+6 -6 lib/libevent/buffer.c
+3 -3 lib/libevent/event_tagging.c
+9 -9 3 files not shown
+63 -63 9 files

OpenBSD — usr.bin/nc netcat.c

my mistake. we already did increase buffers to 16k; increasing to 64k
would be the next stage of embiggening. restore 16k.
Delta File
+2 -2 usr.bin/nc/netcat.c
+2 -2 1 file

OpenBSD — usr.bin/nc netcat.c

rework the poll loop to poll in both directions so it doesn't get stuck
if one pipe stalls out. from a diff by Arne Becker.
(buffer size left alone for now)
Delta File
+211 -47 usr.bin/nc/netcat.c
+211 -47 1 file

OpenBSD — usr.bin/ftp fetch.c

use ressl constant; from Jan Klemkow
Delta File
+2 -2 usr.bin/ftp/fetch.c
+2 -2 1 file