CVS: cvs.openbsd.org: src

2019-05-14 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2019/05/15 00:56:36

Modified files:
sys/dev/pci: if_mcx.c 

Log message:
remove some use of uninitialized values pointed out by jsg@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2019/05/15 00:54:10

Modified files:
sys/dev/pci: if_mcx.c 

Log message:
Rework tx path to allow using up to 13 segments per packet, so we don't
have to defrag everything.  While working on this I discovered both of
the tx doorbells can be rung once per mcx_start() call, rather than once
per packet.  dlg@ helped a lot by making me read the documentation again.



CVS: cvs.openbsd.org: src

2019-05-14 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/05/15 00:52:33

Modified files:
sys/arch/amd64/include: loadfile_machdep.h 
sys/arch/amd64/stand/boot: Makefile conf.c 
sys/arch/amd64/stand/cdboot: Makefile conf.c 
sys/arch/amd64/stand/libsa: exec_i386.c 
sys/arch/amd64/stand/pxeboot: Makefile conf.c 
Added files:
sys/arch/amd64/stand/libsa: run_amd64.S 

Log message:
Add support to the BIOS bootloader for random kernel base VA

This diff adds support to be able to load a randomly linked kernel VA
(subject to some range restrictions). This change has been in snaps for
a few days without any fallout.

ok deraadt@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2019/05/15 00:12:19

Modified files:
sys/uvm: uvm_amap.c uvm_amap.h 

Log message:
free size for amap; ok visa@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Eric Faurot
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2019/05/14 23:02:43

Modified files:
usr.sbin/smtpd : smtpc.c 

Log message:
normalize newlines when reading the message

spotted by martijn@

ok martijn@ gilles@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/05/14 22:43:32

Modified files:
usr.bin/ssh: sshconnect2.c 

Log message:
When doing the fork+exec'ing for ssh-keysign, rearrange the socket
into fd3, so as to not mistakenly leak other fd forward accidentally.
ok djm



CVS: cvs.openbsd.org: src

2019-05-14 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2019/05/14 21:16:16

Modified files:
sys/arch/mips64/mips64: trap.c 

Log message:
Drop redundant pmap_proc_iflush() call. The needed instruction cache
invalidation is done by mips64 pmap when the branch emulation page is
made executable.

Originally, the pmap_proc_iflush() call was necessary. The instruction
cache invalidation was added in pmap_protect() after the FPU emulation
was introduced.

OK miod@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2019/05/14 21:17:20

Modified files:
sys/arch/mips64/mips64: trap.c 

Log message:
Reduce branch emulation page access protection during setup. The setup
stage does not need execute access, so map the page initially with
read-write protection.

OK miod@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Rob Pierce
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2019/05/14 21:12:50

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

Log message:
sync



CVS: cvs.openbsd.org: src

2019-05-14 Thread Rob Pierce
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2019/05/14 21:11:52

Modified files:
lib/libutil: Makefile 
Added files:
lib/libutil: ber_add_string.3 ber_get_string.3 ber_oid_cmp.3 
 ber_read_elements.3 ber_set_header.3 
Removed files:
lib/libutil: ber.3 

Log message:
Split ber.3 into logical parts. Further tweaking will be done in tree.

Discussed with and ok jmc@, schwarze@, claudio@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2019/05/14 15:41:11

Modified files:
sys/dev/ic : athn.c 

Log message:
Fix athn(4) 9280 1T2R devices; broken since my noisefloor calib commit
Problem reported and fix tested by Stephane Guedon
ok jca@ mpi@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2019/05/14 14:48:45

Modified files:
regress/sys/dev/kcov: Makefile kcov.c 

Log message:
test different buffer sizes



CVS: cvs.openbsd.org: src

2019-05-14 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/05/14 12:51:07

Modified files:
usr.bin/ftp: http.c progressmeter.c 

Log message:
do not intermingle direct io (write), and potentially buffered io (stdio)
against the same outputs
ok kmos florian



CVS: cvs.openbsd.org: src

2019-05-14 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2019/05/14 12:27:37

Modified files:
usr.bin/ftp: ftp.1 

Log message:
Document -v



CVS: cvs.openbsd.org: src

2019-05-14 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2019/05/14 12:25:31

Modified files:
usr.bin/ftp: main.c 

Log message:
-v forces verbose mode even if stdin is not a terminal
Found the hard way by bluhm
Debugged with deraadt & bluhm



CVS: cvs.openbsd.org: www

2019-05-14 Thread Peter Hessler
CVSROOT:/cvs
Module name:www
Changes by: phess...@cvs.openbsd.org2019/05/14 12:03:51

Modified files:
.  : events.html 
Added files:
papers : bhyvecon-ottawa-2019.pdf 

Log message:
add my slides for my talk at bhyvecon ottawa



CVS: cvs.openbsd.org: src

2019-05-14 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2019/05/14 10:47:30

Modified files:
usr.sbin/bgpctl: bgpctl.c 

Log message:
make "bgpctl sh rib detail *out*" look less confusing
ok claudio@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2019/05/14 10:43:26

Modified files:
regress/lib/libpthread: Makefile.inc 
regress/lib/libpthread/pthread_specific: Makefile 
regress/lib/libpthread/stdarg: Makefile 
share/man/man5 : bsd.regress.mk.5 
share/mk   : bsd.regress.mk 

Log message:
Remove the REGRESS_MAXTIME feature from regress framework.  The
timeout based on CPU seconds is pretty useless, most hanging tests
sleep and do not spin.  The timeout could not be distinguished from
failure.  Only 3 tests used it.
OK anton@ schwarze@ cheloha@ otto@



Re: CVS: cvs.openbsd.org: src

2019-05-14 Thread Jeremie Courreges-Anglas
On Mon, May 13 2019, Jeremie Courreges-Anglas  wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   j...@cvs.openbsd.org2019/05/13 23:58:36
>
> Modified files:
>   usr.bin/ftp: http.c 
>
> Log message:
> Enable TLSv1.0 and TLSv1.1
>
> Like the old ftp.  Discussed with at least with tedu@ "We should match
> existing behavior at least for now"

That was ok sunil@

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



CVS: cvs.openbsd.org: src

2019-05-14 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2019/05/14 09:40:45

Modified files:
lib/libcrypto/evp: e_des3.c 

Log message:
Correct missing test to determine if length is in bytes or in bits.
Issue found by Guido Vranken 
ok tedu@ tb@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Jan Klemkow
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/14 09:19:07

Modified files:
sys/dev/ic : aic7xxx_seeprom.c aic7xxx.c 

Log message:
Add free(9) sizes to ahc(4)

>From Miod
OK tedu@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:src
Changes by: na...@cvs.openbsd.org   2019/05/14 09:00:37

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
document CONFIGURE_STYLE=autoreconf; ok espie@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2019/05/14 08:51:31

Modified files:
sbin/unwind: captiveportal.c frontend.c resolver.c unwind.c 
 unwind.h 

Log message:
Move common config passing code into a function.
OK pamela



CVS: cvs.openbsd.org: src

2019-05-14 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2019/05/14 08:27:49

Modified files:
distrib/miniroot: install.sub 
usr.sbin/sysupgrade: sysupgrade.sh 

Log message:
Revert my recent sysupgrade changes; it broke unattended upgrades for
espie@. Need to look deeper.



CVS: cvs.openbsd.org: src

2019-05-14 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/14 07:44:45

Modified files:
sys/dev: kcov.c 

Log message:
armv7 and arm64 also have ci_idepth
ok anton@



CVS: cvs.openbsd.org: src

2019-05-14 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/14 07:44:25

Modified files:
usr.sbin/config: config.8 main.c misc.c misc.h ukcutil.c 

Log message:
allow specifying a cmdfile instead of trying to pipe in commands for -ef.
ok deraadt



CVS: cvs.openbsd.org: src

2019-05-14 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/05/14 07:17:09

Modified files:
share/man/man9 : syscall.9 

Log message:
minor macro cleanup



CVS: cvs.openbsd.org: src

2019-05-14 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/05/14 06:55:54

Modified files:
share/man/man9 : syscall.9 

Log message:
minor wording improvement from Stephen Gregoratto



CVS: cvs.openbsd.org: src

2019-05-14 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/05/14 06:47:17

Modified files:
share/man/man4 : inet6.4 
usr.bin/ssh: ssh_config.5 sshd_config.5 
usr.sbin/vmctl : vmctl.8 
usr.sbin/vmd   : vm.conf.5 

Log message:
Delete some .Sx macros that were used in a wrong way.
Part of a patch from Stephen Gregoratto .



CVS: cvs.openbsd.org: src

2019-05-14 Thread Eric Faurot
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2019/05/14 06:08:54

Modified files:
usr.sbin/smtpd : smtp_client.c 

Log message:
fix typos in log messages



CVS: cvs.openbsd.org: src

2019-05-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/05/14 01:37:50

Modified files:
usr.bin/tmux   : layout-set.c 

Log message:
Fix sizing of main-vertical and main-horizontal layouts, GitHub issue 1736.