CVS: cvs.openbsd.org: src

2016-12-14 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2016/12/14 23:52:02

Modified files:
lib/libcrypto/man: RAND_add.3 

Log message:
remove "(DEPRECATED)" from the Nd: none of the other base pages
document things this way and DESCRIPTION is clear anyway that this
should not be used; wording of the Nd suggested by schwarze

ok schwarze



CVS: cvs.openbsd.org: src

2016-12-14 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2016/12/14 20:41:15

Modified files:
sys/dev/pv : xbf.c 

Log message:
fix build when DIAGNOSTIC is not defined
ok mikeb@



CVS: cvs.openbsd.org: src

2016-12-14 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2016/12/14 14:22:06

Modified files:
lib/libcrypto/man: PEM_write_bio_PKCS7_stream.3 
   X509_NAME_ENTRY_get_object.3 

Log message:
an Xr and new line fix;



CVS: cvs.openbsd.org: src

2016-12-14 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2016/12/14 14:17:25

Modified files:
usr.sbin/vmctl : vmctl.c 
usr.sbin/vmd   : parse.y vmd.c vmd.h 

Log message:
Allow to start disabled and pre-configured VMs by name, "vmctl start foo".

With testing from Jon Bernard

OK mlarkin@



CVS: cvs.openbsd.org: src

2016-12-14 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2016/12/14 13:35:20

Modified files:
sys/net: route.c 

Log message:
Make 'route add default' show a nicer error message if the provided
gateway is not reachable (e.g. not on a local subnet).
ok millert@ mikeb@ mpi@
(and shrugs by jca@)



CVS: cvs.openbsd.org: src

2016-12-14 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2016/12/14 12:12:16

Modified files:
usr.sbin/tcpdump: addrtoname.c 

Log message:
Sync extern decl of eproto_db with what's in libpcap.

For some reason this crashes on armv7.  Issue reported by Lars Nooden.



CVS: cvs.openbsd.org: src

2016-12-14 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2016/12/14 11:59:12

Modified files:
sys/dev: vnd.c vndioctl.h 

Log message:
Kill compat for old VNDIOCSET; ok deraadt@



CVS: cvs.openbsd.org: src

2016-12-14 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2016/12/14 10:56:19

Modified files:
usr.sbin/vmd   : vmm.c 

Log message:
Allow a guest to reboot by reinitializing its state and booting again.
This is technically a reset since memory is cleared and the dmesg
buffer is lost.

Patch from Jon Bernard (jbernard at jbernard.io) - Thanks

OK reyk@ mlarkin@



CVS: cvs.openbsd.org: src

2016-12-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2016/12/14 10:38:59

Modified files:
usr.bin/tmux   : cmd-swap-window.c 

Log message:
Fix up winlink lists after swap-window.



CVS: cvs.openbsd.org: src

2016-12-14 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2016/12/14 10:29:51

Modified files:
distrib/sets/lists/comp: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2016-12-14 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2016/12/14 10:26:35

Modified files:
lib/libcrypto/man: d2i_X509_NAME.3 

Log message:
Document X509_NAME_dup(3) and X509_NAME_ENTRY_dup(3) listed in
OpenSSL doc/man3/X509_dup.pod and d2i_X509_NAME_ENTRY(3) and
i2d_X509_NAME_ENTRY(3) listed in OpenSSL doc/man3/d2i_X509.pod.
Also add a RETURN VALUES section.



CVS: cvs.openbsd.org: src

2016-12-14 Thread Rafael Zalamena
CVSROOT:/cvs
Module name:src
Changes by: rzalam...@cvs.openbsd.org   2016/12/14 10:15:56

Modified files:
sys/netinet: igmp.c 

Log message:
Set the rtableid for new mbufs when sending packets in igmp_sendpkt().

ok mikeb@, phessler@



CVS: cvs.openbsd.org: src

2016-12-14 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2016/12/14 09:53:32

Modified files:
lib/libcrypto/man: x509.3 

Log message:
Clarify X509_NAME stuff and cut back excessive references.
Ultimately, this page will have to be merged into X509_new(3),
but we're not quite ready for that just yet.



CVS: cvs.openbsd.org: src

2016-12-14 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2016/12/14 09:20:28

Modified files:
lib/libcrypto/man: OCSP_SERVICELOC_new.3 OCSP_cert_to_id.3 
   X509_NAME_add_entry_by_txt.3 
   X509_NAME_get_index_by_NID.3 
   X509_NAME_print_ex.3 X509_get_subject_name.3 
lib/libssl/man : SSL_CTX_set_client_CA_list.3 SSL_dup_CA_list.3 
 SSL_get_client_CA_list.3 
 SSL_load_client_CA_file.3 

Log message:
Make sure all manual pages discussing X509_NAME objects
reference X509_NAME_new(3).  Sparingly add a few other
references to relevant X509_NAME*(3) pages while here.



CVS: cvs.openbsd.org: src

2016-12-14 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2016/12/14 09:18:31

Modified files:
lib/libcrypto/man: d2i_X509_NAME.3 

Log message:
Complete rewrite to improve clarity.
Add some cross references and STANDARDS.



CVS: cvs.openbsd.org: src

2016-12-14 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2016/12/14 09:07:05

Modified files:
lib/libcrypto/man: X509_NAME_ENTRY_get_object.3 

Log message:
Document X509_NAME_ENTRY_new(3) and X509_NAME_ENTRY_free(3),
both listed in  and in OpenSSL doc/man3/X509_dup.h.
Note that the OpenSSL documentation specifies the wrong header file.

Explain what X509_NAME_ENTRY represents.
Simplify and clarify some wording.
Sort parts of the text into a more logical order.
Delete an irrelevant cross reference and add some relevant ones.
Add a STANDARDS section.



CVS: cvs.openbsd.org: src

2016-12-14 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2016/12/14 08:04:13

Modified files:
lib/libcrypto/man: Makefile 
Added files:
lib/libcrypto/man: X509_NAME_new.3 

Log message:
Write X509_NAME_new(3) manual from scratch.  Both functions are
listed in  and in OpenSSL doc/man3/X509_dup.pod.
Note that the OpenSSL documentation specifies the wrong header file.



CVS: cvs.openbsd.org: src

2016-12-14 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2016/12/14 07:38:42

Modified files:
usr.bin/bgplg  : bgplg.8 

Log message:
Some of the executables that are used by bgplg need the set-user-ID
bit, so they should be mounted on a filesystem without the nosuid
option.  OpenBSD's /var/www is mounted nosuid by default and using
bgplg with the statically-linked "ping" doesn't work with nosuid.

Reported by Michael W. Lucas (mwlucas at michaelwlucas.com)

OK jmc@ jca@



CVS: cvs.openbsd.org: src

2016-12-14 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:src
Changes by: mi...@cvs.openbsd.org   2016/12/14 04:39:30

Modified files:
sys/dev/pv : xbf.c 

Log message:
Various typos and minor cleanup



CVS: cvs.openbsd.org: src

2016-12-14 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2016/12/14 03:30:59

Modified files:
sys/arch/amd64/include: cpu.h 
sys/arch/amd64/amd64: identcpu.c 

Log message:
Add the TSC timecounter and use it on Skylake machines where the HPET
is too slow and the invariant TSC more accurate.

The commit includes joint work by mikeb@ kettenis@ and me;
tested for some time by a large group of volunteers.

OK mikeb@ kettenis@



CVS: cvs.openbsd.org: src

2016-12-14 Thread Ricardo Mestre
CVSROOT:/cvs
Module name:src
Changes by: mes...@cvs.openbsd.org  2016/12/14 01:22:39

Modified files:
usr.sbin/unbound/services: listen_dnsport.c 

Log message:
Remove a resource leak by closing the socket in all error cases.
The patch was already committed upstream.

OK tb@ and sthen@. jca@ has a valid point that the error would be fatal and
most likely the socket would not leak, nevertheless create_tcp_accept_sock()
close the socket everytime so for clarity apply the same principal here in
create_local_accept_sock()



CVS: cvs.openbsd.org: src

2016-12-14 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2016/12/14 01:16:56

Modified files:
sys/net: if_media.h 

Log message:
fix typo (bas->base), "please commit" mikeb@