CVS: cvs.openbsd.org: src

2019-04-03 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/04/04 00:58:56

Modified files:
share/man/man4 : bwfm.4 

Log message:
patrick confirms that this driver does not support powersave;



CVS: cvs.openbsd.org: src

2019-04-03 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/04/04 00:33:10

Modified files:
sys/dev/acpi   : tipmic.c 

Log message:
The ASUS E200HA reads the register at "address" 0x00 instead of 0x18.



CVS: cvs.openbsd.org: src

2019-04-03 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/04/03 23:53:27

Modified files:
gnu/llvm/tools/clang/lib/Driver/ToolChains: Clang.cpp 

Log message:
frame-pointer elimination has encountered some resistance in ports but we
are close to release, so punt the change till after-release
easier for everyoned and especially naddy
ok tedu



CVS: cvs.openbsd.org: src

2019-04-03 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/04/03 23:35:10

Modified files:
distrib/sets/lists/comp: gcc.alpha gcc.amd64 gcc.armv7 gcc.hppa 
 gcc.i386 gcc.landisk gcc.loongson 
 gcc.luna88k gcc.macppc gcc.octeon 
 gcc.sgi gcc.socppc gcc.sparc64 

Log message:
sync



CVS: cvs.openbsd.org: src

2019-04-03 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/04/03 22:49:16

Modified files:
sys/arch/arm64/conf: RAMDISK 

Log message:
Add bwfm(4) such that we can use bsd.rd to update over wireless.



CVS: cvs.openbsd.org: src

2019-04-03 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2019/04/03 22:19:54

Modified files:
usr.bin/rsync  : extern.h fargs.c flist.c main.c rsync.1 

Log message:
Add support for not crossing filesystem boundaries (-x) to rsync. Option
and behaviour is the same as GPL rsync.

Initial diff received feedback from benno@, schwarze@, deraadt@ and
florian@. Thanks!

OK deraadt@



CVS: cvs.openbsd.org: src

2019-04-03 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:src
Changes by: na...@cvs.openbsd.org   2019/04/03 20:28:23

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

Log message:
Remove CONFIGURE_STYLE=autoupdate setting.
Running autoupdate is not useful in a port context.  No port uses this and
it appears none ever has.
ok kn@



Re: CVS: cvs.openbsd.org: src

2019-04-03 Thread Ted Unangst
Ted Unangst wrote:
> Ted Unangst wrote:
> > CVSROOT:/cvs
> > Module name:src
> > Changes by: t...@cvs.openbsd.org2019/04/02 22:52:27
> > 
> > Removed files:
> > gnu/gcc/libobjc: ChangeLog Makefile.in NXConstStr.m Object.m 
> 
> Make sure to use cvs up -P to remove empty directories.

And then make sure the directory is actually deleted if you have a stale obj
directory inside it.



CVS: cvs.openbsd.org: src

2019-04-03 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2019/04/03 13:58:04

Modified files:
share/misc : airport 

Log message:
YUL - Montreal Dorval International has been renamed Montreal-Pierre
Elliott Trudeau International on January 1, 2004.



CVS: cvs.openbsd.org: src

2019-04-03 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2019/04/03 10:23:20

Modified files:
share/man/man4 : bpf.4 

Log message:
document BIOCSRTIMEOUT errors; ok deraadt@ millert@



CVS: cvs.openbsd.org: src

2019-04-03 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2019/04/03 10:20:23

Modified files:
sys/net: bpf.c 

Log message:
Reject negative and too large timeouts passed to BIOCSRTIMEOUT. Since
the timeout converted to ticks is later passed timeout_add(), it could
cause a panic if the timeout is negative.

ok deraadt@ millert@

Reported-by: syzbot+82cb4dfe6a1fc3d8b...@syzkaller.appspotmail.com



CVS: cvs.openbsd.org: src

2019-04-03 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/03 09:48:45

Modified files:
usr.bin/ssh: version.h 

Log message:
openssh-8.0



CVS: cvs.openbsd.org: src

2019-04-03 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/04/03 09:33:37

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

Log message:
Avoid some out of bound accesses in aesni_cbc_hmac_sha1_cipher().
The plen variable can be NO_PAYLOAD_LENGTH == (size_t)-1, so doing
tls_aad[plen-4] is no good. Also check that the length of the AAD
set via the control interface is equal to 13 since the whole file
is written with that case in mind.

Note that we no longer use this code in LibreSSL/OpenBSD. We
eliminated the use of these control interfaces and stitched cipher
modes in libssl a while ago.

Problem found by Guido Vranken with his cryptofuzz - thanks!

input & ok beck, jsing



CVS: cvs.openbsd.org: src

2019-04-03 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/04/03 08:59:34

Modified files:
regress/bin/ksh/edit: emacs.sh 

Log message:
Don't test the behavior of ^L as it depends on $TERM

Suggested by anton@



CVS: cvs.openbsd.org: src

2019-04-03 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/04/03 08:55:12

Modified files:
bin/ksh: emacs.c ksh.1 

Log message:
Bind ^L (C-l) to clear-screen instead of redraw

Slightly more useful for some, same defaults as bash.
No objection deraadt@ phessler@, ok tb@ kn@ benno@



CVS: cvs.openbsd.org: src

2019-04-03 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/04/03 06:57:56

Modified files:
sbin/dhclient  : dhclient.c 

Log message:
Take the length of an initialized string, not a
soon-but-not-yet-initialized string.

Should fix "Segmentation fault" reported by Raf
Czlonka.



CVS: cvs.openbsd.org: src

2019-04-03 Thread YASUOKA Masahiko
CVSROOT:/cvs
Module name:src
Changes by: yasu...@cvs.openbsd.org 2019/04/03 05:54:56

Modified files:
usr.sbin/radiusd: radiusd.c radiusd.h radiusd_module.c 

Log message:
Fix the bug that radius module didn't work when the size of radius message
changes.



CVS: cvs.openbsd.org: src

2019-04-03 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/04/03 04:31:18

Modified files:
share/man/man4 : route.4 

Log message:
spelling mistake in previous - sorry, klemens!



CVS: cvs.openbsd.org: src

2019-04-03 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/04/03 04:31:10

Modified files:
sys/dev/pci/drm/radeon: cik.c 

Log message:
Correct access to doorbell.  In radeondrm this is only present and used
with gfx7/sea islands hardware.  Fixes ring 2 test failure on
carrizo-l/mullins.

Problem found by kettenis@ in a different part of the drm 4.19 tree.



CVS: cvs.openbsd.org: src

2019-04-03 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/04/03 02:56:00

Modified files:
share/man/man4 : route.4 

Log message:
Recommend ROUTE_TABLEFILTER over SO_RTABLE

SO_TABLE is not applicable to AF_ROUTE, ROUTE_TABLEFILTER works across all
families and goes well in line with the other ROUTE_* macros.

While here, document RTABLE_ANY and mention rtable(4).

OK claudio jmc



CVS: cvs.openbsd.org: src

2019-04-03 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2019/04/03 01:47:20

Modified files:
sys/dev/usb: uaudio.c 

Log message:
Always copy data (if any) whenever a new bounce buffer is available.



CVS: cvs.openbsd.org: src

2019-04-03 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2019/04/03 01:44:52

Modified files:
sys/dev/usb: uaudio.c 

Log message:
Check for available space before copying data to the bounce buffers.

No behavior change as we don't call uaudio_pdata_copy() in situations
when bounce buffers may not be available.



CVS: cvs.openbsd.org: src

2019-04-03 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2019/04/03 01:38:12

Modified files:
sys/dev/usb: uaudio.c 

Log message:
Make the uaudio_stream->ubuf_xfer relative to current xfer number.

No behavior change. The new representation is equivalent but eases
detection of overflows and underflows.