Displaying 1 50 of 182,302 commits (0.020s)

OpenBSD — usr.sbin/syspatch syspatch.8 syspatch.sh

Make it possible to install patches even if we don't have all sets installed
(e.g. no x sets); in this case, syspatch will skip the patch *but* it will still
be listed as available. This will allow applying the patch in case sets are
installed later on.

OpenBSD — usr.sbin/dhcrelay dispatch.c dhcrelay.c

Simplify get_interfaces function, make it return NULL if we didn't find
the interface and abort dhcrelay with a more friendly message when we
don't have an address configured in the interface.

ok jca@

OpenBSD — sys/dev rnd.c

fix spelling errors and typos, from Michael W. Bombardieri
Delta File
+3 -4 sys/dev/rnd.c
+3 -4 1 file

OpenBSD — lib/libc/net linkaddr.c

Fix regressions introduce in the fix for CVE-2016-6559.
From FreeBSD (glebius)
Delta File
+5 -6 lib/libc/net/linkaddr.c
+5 -6 1 file

OpenBSD — distrib/sets/lists/comp mi

sync
Delta File
+2 -0 distrib/sets/lists/comp/mi
+2 -0 1 file

OpenBSD — regress/usr.bin/mandoc/char/space trailing-mdoc.in trailing-mdoc.out_ascii

test different kinds of the "WARNING: whitespace at end of input line";
bluhm@ noticed that this area can grow regressions

OpenBSD — regress/usr.bin/mandoc/roff/args man.in man.out_lint

comment out non-working parts of the test with .ig rather than \",
this is not supposed to test whitespace at the end of comments;
noticed by bluhm@ who sent a different patch

OpenBSD — regress/usr.bin/mandoc/roff/args roff.in

enable commented parts of the test, they seem to work now

OpenBSD — regress/usr.bin/mandoc/roff/args roff.out_ascii roff.out_lint

enable commented parts of the test, they seem to work now

OpenBSD — usr.bin/tmux status.c

Do not clear the prompt when a message is shown, just leave it around and
return to it when the message is finished.
Delta File
+3 -3 usr.bin/tmux/status.c
+3 -3 1 file

OpenBSD — usr.bin/mandoc read.c

When reporting "whitespace at end of input line" on lines ending with
roff(7) comments, let the column number in the message point to the
end of the line rather than to the beginning of the comment.
Improvement suggested by bluhm@.
Delta File
+4 -2 usr.bin/mandoc/read.c
+4 -2 1 file

OpenBSD — sys/dev/pv xbf.c

Add required padding to the response descriptor

Xen source code relies on the compiler to pad members of the structure
representing the descriptor layout in memory; we're however trying to
be more defensive and define packed structures.

Figured out the hard way with reyk@.
Delta File
+5 -1 sys/dev/pv/xbf.c
+5 -1 1 file

OpenBSD — sys/dev/pv xbf.c

Response status field is signed; adjust the debug message
Delta File
+3 -3 sys/dev/pv/xbf.c
+3 -3 1 file

OpenBSD — regress/usr.sbin/arp arptest1.ok arptest2.ok

Spacing in arp -a output has changed, adapt test.

OpenBSD — lib/libssl/man SSL_renegotiate.3 Makefile

Write SSL_renegotiate(3) manual from scratch; this function is listed
in ssl(3) and <openssl/ssl.h>, so it's clearly a public interface.

More could probably be said, the code looks somewhat mysterious to me,
but i think this stub is already better than nothing.

OpenBSD — usr.sbin/dhcrelay dhcrelay.c

DHCP requests can be relayed through multiple relays.  Currently we
drop requests that have already been relayed.  To allow usage in the
middle of a chain, remove this check and only set giaddr if it has not
been set yet.  This giaddr will be used by the DHCP server to identify
which subnet the client is connected to.

RFC 1542 specifies that we should increase the hop counter every time
we relay a request.  If we receive a request whose hop counter exceeds
the value of 16 we must silently drop it.

ok jca@
Delta File
+14 -11 usr.sbin/dhcrelay/dhcrelay.c
+14 -11 1 file

OpenBSD — usr.sbin/dhcrelay dhcrelay.c

If the BROADCAST flag is set on a BOOTREPLY, the RFC specifies that
we SHOULD forward the packet not only as L3 broadcast, but also as
L2 broadcast.  Apparently that helps on older machines that can't
handle L2 unicast replies.

ok jca@
Delta File
+15 -7 usr.sbin/dhcrelay/dhcrelay.c
+15 -7 1 file

OpenBSD — distrib/sets/lists/comp mi

sync
Delta File
+1 -0 distrib/sets/lists/comp/mi
+1 -0 1 file

OpenBSD — sys/dev/pv xbf.c

Fall back to the minimum amount of ring pages

Some AWS volumes lack both max-ring-page-order and max-ring-pages
properties so we have to default to a minimum amount of 1 ring page.
Noticed and fix tested by reyk@ on EC2.
Delta File
+3 -2 sys/dev/pv/xbf.c
+3 -2 1 file

OpenBSD — lib/libssl/man SSL_read.3

add missing .Nm SSL_peek in the NAME section
Delta File
+4 -3 lib/libssl/man/SSL_read.3
+4 -3 1 file

OpenBSD — sys/dev/pv xbf.c

splbio isn't doing us any good here and prevents polling from working
Delta File
+4 -11 sys/dev/pv/xbf.c
+4 -11 1 file

OpenBSD — lib/libssl/man SSL_copy_session_id.3 Makefile

Write SSL_copy_session_id(3) manual from scratch.  This function is
listed in ssl(3) and <openssl/ssl.h>, so it's clearly a public interface.

We might wish to merge the improved code from OpenSSL 1.1.0,
but that's major bump, so i'm documenting the BUGS for now.

OpenBSD — distrib/sets/lists/comp mi

sync
Delta File
+3 -0 distrib/sets/lists/comp/mi
+3 -0 1 file

OpenBSD — share/man/man4 pvbus.4 xbf.4

tweak previous;
Delta File
+3 -3 share/man/man4/pvbus.4
+3 -3 share/man/man4/xbf.4
+6 -6 2 files

OpenBSD — lib/libssl/man SSL_dup.3 Makefile

Write new SSL_dup(3) manual from scratch.  This function is listed
in ssl(3) and <openssl/ssl.h>, so it is clearly public.

OpenBSD — usr.sbin/dhcrelay dhcrelay.c

pledge(2) dhcrelay with "stdio route".  route is needed for interface ioctls.

OK rzalamena@
Delta File
+4 -1 usr.sbin/dhcrelay/dhcrelay.c
+4 -1 1 file

OpenBSD — share/man/man4 ix.4

Mention X552, don't mention X557 which is a PHY
Delta File
+4 -4 share/man/man4/ix.4
+4 -4 1 file

OpenBSD — share/man/man4 pvbus.4 Makefile

Add xbf(4)

OpenBSD — share/man/man4 xbf.4

xbf(4) manual page
Delta File
+57 -0 share/man/man4/xbf.4
+57 -0 1 file

OpenBSD — sys/dev/pci if_iwn.c if_iwnvar.h

Add mira support to iwn(4).
Please let me know about any regressions.

Tested by myself, tb@, okan@, jca@, naddy@, mlarkin@
ok tb@ jca@
Delta File
+54 -17 sys/dev/pci/if_iwn.c
+3 -1 sys/dev/pci/if_iwnvar.h
+57 -18 2 files

OpenBSD — sys/arch/amd64/conf GENERIC

Add a commented out entry for xbf(4)

xbf(4) driver creates a shim on top of Xen I/O rings and exports
it as a SCSI adaptor with a single target for a disk or a cdrom.
The disks that are attached to it are managed by the sd(4) driver,
but thankfully OpenBSD users do not require any migration strategy
to move from emulated wd(4) disks to paravirtualized ones since
disklabel UIDs are used by default in /etc/fstab making referencing
particular partitions independent from the underlying device driver.
Delta File
+2 -1 sys/arch/amd64/conf/GENERIC
+2 -1 1 file

OpenBSD — usr.sbin/syspatch syspatch.sh

Cleanup syspatch directories that do not contain a tarball; it means it
was not applied properly.
Delta File
+2 -2 usr.sbin/syspatch/syspatch.sh
+2 -2 1 file

OpenBSD — sys/dev/pv files.pv

Add xbf(4)
Delta File
+8 -1 sys/dev/pv/files.pv
+8 -1 1 file

OpenBSD — sys/dev/pv xbf.c

A driver for Xen Blkfront heavily based on vdsk(4) from kettenis@
Delta File
+1,116 -0 sys/dev/pv/xbf.c
+1,116 -0 1 file

OpenBSD — sys/dev/pv xenstore.c xenvar.h

Add a simple mechanism to poll for a change in the property value
Delta File
+57 -1 sys/dev/pv/xenstore.c
+32 -19 sys/dev/pv/xenvar.h
+89 -20 2 files

OpenBSD — sys/dev/pv xenstore.c

Factor out the polling loop into a separate function
Delta File
+20 -13 sys/dev/pv/xenstore.c
+20 -13 1 file

OpenBSD — lib/libssl/man SSL_dup_CA_list.3 Makefile

New SSL_dup_CA_list(3) manual written from scratch.
Mentioned in ssl(3) and <openssl/ssl.h>, so it is public.

OpenBSD — sys/dev/pv xenstore.c

Return proper error values from xs_{get,set}prop
Delta File
+3 -3 sys/dev/pv/xenstore.c
+3 -3 1 file

OpenBSD — sys/dev/pv xen.c

Remove some leftovers from before the dynamic grant table code
Delta File
+1 -4 sys/dev/pv/xen.c
+1 -4 1 file

OpenBSD — lib/libssl/man SSL_load_client_CA_file.3

Add documentation for SSL_add_file_cert_subjects_to_stack(3) and
SSL_add_dir_cert_subjects_to_stack(3), written from scratch.
Both functions are listed in ssl(3) and <openssl/ssl.h> and recommended
for the use by browsers in source code comments, so they are clearly
public interfaces.

Mention deduplication.
Purge some duplicate text and improve some wording while here.
Two additional cross references instead of the useless ssl(3).
Add HISTORY, AUTHORS, and BUGS.

It is depressing that BUGS (purely from code inspection) became
longer than the DESCRIPTION.
Delta File
+103 -25 lib/libssl/man/SSL_load_client_CA_file.3
+103 -25 1 file

OpenBSD — lib/libssl s3_clnt.c

Convert ssl3_send_client_kex_dhe() to CBB.

ok doug@
Delta File
+23 -14 lib/libssl/s3_clnt.c
+23 -14 1 file

OpenBSD — usr.sbin/dhcrelay dispatch.c dhcrelay.c

Rename function discover_interfaces into get_interface and change its
prototype to be more useful.

ok reyk@

OpenBSD — lib/libssl s3_srvr.c

Ensure that we zero memory that contiansthe ASN.1 encoded session, since
this contains the session master key.

ok deraadt@ doug@
Delta File
+29 -26 lib/libssl/s3_srvr.c
+29 -26 1 file

OpenBSD — lib/libssl ssl_asn1.c

Ensure that we zero memory used to hold the ASN.1 encoded session, since
this contains the session master key.

ok deraadt@ doug@
Delta File
+4 -1 lib/libssl/ssl_asn1.c
+4 -1 1 file

OpenBSD — usr.bin/tmux tty.c

Only skip moving the cursor if it is already in the last position _on
the same line_, fixes redraw bug reported by patrick keshishian.
Delta File
+3 -2 usr.bin/tmux/tty.c
+3 -2 1 file

OpenBSD — usr.bin/tmux server-client.c key-bindings.c

Make prefix work in all tables (except the prefix table). Users who want
to avoid this can set prefix to "none" and bind send-prefix
themselves. Allows C-b t be bound in the copy mode tables again, pointed
out by millert@.

OpenBSD — distrib/sets/lists/comp mi

sync
Delta File
+1 -0 distrib/sets/lists/comp/mi
+1 -0 1 file

OpenBSD — lib/libc/net linkaddr.c

Fix a typo, decrement rem, don't increment for single digit hex bytes.
From Henri Kemppainen
Delta File
+2 -2 lib/libc/net/linkaddr.c
+2 -2 1 file

OpenBSD — lib/libssl/man SSL_SESSION_print.3 Makefile

An SSL_SESSION_print(3) manual written from scratch.  It's clearly
a public interface since it's listed both in ssl(3) and in
<openssl/ssl.h>.  Nothing to pilfer from OpenSSL in this case...

OpenBSD — lib/libssl/man SSL_CTX_set_tmp_rsa_callback.3

s/SSL_CTX_need_tmp_rsa/SSL_CTX_need_tmp_RSA/
because that's what <openssl/ssl.h> #defines.

That's likely a typo in the header file because all the other
functions are called *tmp_rsa*().  But it would be a bad idea to
fix such a bug in interfaces that are only provided for backward
compatibility in the first place, so i'm adjusting the manual to
be bug-compatible with the code, for now.

But, pretty please, for the next major bump, somebody go get Bob's
flensing knife and excise this part of the interface.  Like, export
ciphers?  Really?