CVS: cvs.openbsd.org: src

2019-05-16 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/05/17 00:47:10

Modified files:
usr.sbin/tcpdump: print-gre.c 

Log message:
handle ERSPAN type I

type I and II share their GRE protocol, but you tell them apart by
checking if a sequence number is used. type I does not use a sequence
number and contains a bare ethernet frame. type II contains a
sequence number and a shim header that is already handled by the
code.

tested with a Dell S5048F-ON and an encapsulated remote port mirror setup.



CVS: cvs.openbsd.org: src

2019-05-16 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/05/16 23:48:26

Modified files:
usr.bin/tmux   : tty-acs.c 

Log message:
Change a couple of ACS characters to be more sensible and add a few
missing ones, reported by Ricardo Banffy.



CVS: cvs.openbsd.org: src

2019-05-16 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/05/16 23:47:31

Modified files:
usr.bin/tmux   : cmd-new-session.c 

Log message:
Initialize default size variables, from Thomas Adam.



CVS: cvs.openbsd.org: src

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

Modified files:
sys/kern   : kern_smr.c subr_xxx.c 

Log message:
Add SMR_ASSERT_NONCRITICAL() in assertwaitok(). This eases debugging
because now the error is detected before context switch.

The sleep code path eventually calls assertwaitok() in mi_switch(),
so the assertwaitok() in the SMR barrier function is somewhat redundant
and can be removed.

OK mpi@



CVS: cvs.openbsd.org: src

2019-05-16 Thread Kevin Lo
CVSROOT:/cvs
Module name:src
Changes by: ke...@cvs.openbsd.org   2019/05/16 19:05:20

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

Log message:
For AR9271, use correct clock control register and add a macro to access it.

ok stsp@



CVS: cvs.openbsd.org: src

2019-05-16 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2019/05/16 15:16:04

Modified files:
usr.sbin/vmd   : loadfile.h loadfile_elf.c 

Log message:
Unbreak vmctl start foo -b /bsd -d disk.img -cL
Define a local definition of LOADADDR() instead of pulling in
machine/loadfile_machdep.h. vmd -b requires the addresses to be masked
and the new bootloader no longer does that.
OK pd@ kettenis@



CVS: cvs.openbsd.org: src

2019-05-16 Thread Rob Pierce
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2019/05/16 15:12:33

Modified files:
lib/libutil: ber.c 

Log message:
Add XXX to a comment.



CVS: cvs.openbsd.org: src

2019-05-16 Thread Remi Locherer
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2019/05/16 15:07:33

Modified files:
usr.sbin/ospfctl: parser.c parser.h 

Log message:
Accept address and number format for "ospfctl show database area XXX".

OK denis@ benno@



CVS: cvs.openbsd.org: src

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

Modified files:
lib/libutil: ber_get_string.3 ber_read_elements.3 

Log message:
Correct errno markup. Noticed by schwarze.

Discussed with schwarze and jmc. ok schwarze



CVS: cvs.openbsd.org: www

2019-05-16 Thread Theo Buehler
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2019/05/16 11:12:03

Modified files:
.  : errata64.html 

Log message:
Only 6.5 is affected by the srtp issue.



CVS: cvs.openbsd.org: www

2019-05-16 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2019/05/16 10:57:16

Modified files:
.  : errata64.html errata65.html 

Log message:
release srtp errata



CVS: cvs.openbsd.org: src

2019-05-16 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/05/16 10:18:55

Modified files:
distrib/sets/lists/man: mi 
gnu/usr.bin/perl: Makefile.bsd-wrapper1 

Log message:
Stop using the moribund MLINKS bsd.man.mk feature for Perl manuals.
It was only used in a very unsystematic way for a small minority
of Perl manual pages anyway, and using it consistently would entail
unsustainable maintenance workload.
Using input from afresh1@ espie@ and Grinnz#p5p;
OK afresh1@ espie@ jmc@.



CVS: cvs.openbsd.org: src

2019-05-16 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/05/16 09:38:56

Modified files:
gnu/llvm/tools/clang/docs/CommandGuide: clang.rst 
gnu/usr.bin/clang/clang: clang.1 Makefile 
distrib/sets/lists/comp: clang.amd64 clang.arm64 clang.armv7 
 clang.i386 clang.loongson clang.macppc 
 clang.octeon clang.sgi clang.sparc64 

Log message:
Stop using the moribund MLINKS bsd.man.mk feature for clang(1).
Patch clang.rst such that "gmake -f Makefile.sphinx man" keeps working.
Using input from jsg@; OK patrick@; "no worries" deraadt@



CVS: cvs.openbsd.org: www

2019-05-16 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2019/05/16 09:21:40

Modified files:
.  : events.html 

Log message:
add video link for the recent vmm talk



CVS: cvs.openbsd.org: src

2019-05-16 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/05/16 08:36:58

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

Log message:
unveil code was unaware of -f option.
>From Anton Borowka.
ok sthen



CVS: cvs.openbsd.org: src

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

Modified files:
sys/kern   : kern_smr.c 
sys/sys: sched.h 

Log message:
Remove incorrect optimization. The current logic for skipping idle CPUs
does not establish strong enough ordering between CPUs. Consequently,
smr_grace_wait() might incorrectly skip a CPU and invoke an SMR
callback too early.

Prompted by haesbaert@



CVS: cvs.openbsd.org: src

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

Modified files:
lib/libc/gen   : err.3 glob.3 psignal.3 
lib/libc/stdio : perror.3 
lib/libc/string: strerror.3 strsignal.3 
lib/libc/time  : strftime.3 strptime.3 

Log message:
More consistently put remarks about the less useful LC_* categoties,
i.e. those other than LC_CTYPE, into the CAVEATS section, and
standardize wording somewhat.
OK jmc@



CVS: cvs.openbsd.org: src

2019-05-16 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2019/05/16 06:44:18

Modified files:
distrib/special/ftp: Makefile 
distrib/special/ftp-ssl: Makefile 
usr.bin/ftp: Makefile ftp.1 ftp.c main.c util.c 
Added files:
usr.bin/ftp: cmds.c cmds.h cmdtab.c complete.c cookie.c 
 domacro.c extern.h fetch.c ftp_var.h list.c 
 pathnames.h ruserpass.c small.c small.h 
 stringlist.c stringlist.h 
Removed files:
usr.bin/ftp: cmd.c file.c ftp.h http.c progressmeter.c url.c 
 xmalloc.c xmalloc.h 

Log message:
Revert suni'ls ftp rewrite for now.
We are juggling too many things at the moment and we can't deal with
the differences in behaviour right now.



CVS: cvs.openbsd.org: src

2019-05-16 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2019/05/16 02:47:27

Modified files:
usr.bin/ssh: ssh-pkcs11-helper.c 

Log message:
Move a variable declaration to the block where it's used to make things
a little tidier for -portable.



CVS: cvs.openbsd.org: www

2019-05-16 Thread Gilles Chehade
CVSROOT:/cvs
Module name:www
Changes by: gil...@cvs.openbsd.org  2019/05/16 01:30:05

Modified files:
opensmtpd  : list.html 

Log message:
add link to archives

From: Sergey Bronnikov