CVS: cvs.openbsd.org: src

2017-09-19 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2017/09/19 23:19:00

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

Log message:
Use strsignal in debug message instead of casting for the benefit of
portable where sig_atomic_t might not be int.  "much nicer" deraadt@



CVS: cvs.openbsd.org: src

2017-09-19 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2017/09/19 23:08:11

Modified files:
usr.sbin/lpr/lpd: printjob.c 

Log message:
Avoid overflow/truncation during string->integer converion by eliminating
the 'int' temporary variable.

problem reported by Jacob Zimmermann (jacobz (at) senseofsecurity.com.au)
ok deraadt@



CVS: cvs.openbsd.org: src

2017-09-19 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:src
Changes by: jas...@cvs.openbsd.org  2017/09/19 13:23:57

Modified files:
distrib/sparc64/ramdisk: Makefile 
distrib/sparc64/ramdiskB: Makefile 

Log message:
remove unused GZIPEXT



CVS: cvs.openbsd.org: src

2017-09-19 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2017/09/19 09:39:23

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

Log message:
Enable syscon(4).



CVS: cvs.openbsd.org: src

2017-09-19 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2017/09/19 09:37:47

Modified files:
sys/dev/fdt: syscon.c 

Log message:
Add support for being a regmap provider in syscon(4).  So far the driver
supports being used as a regmap client to reset or power down a machine,
so this change implements the other side where we provide the registers
to write into.

ok kettenis@



CVS: cvs.openbsd.org: src

2017-09-19 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2017/09/19 07:09:15

Modified files:
sbin/dhclient  : bpf.c dhclient.c 

Log message:
Make send_packet() usage consistent. i.e. don't exit
if send_packet(DISCOVER) fails.

Distinguish between writev() and sendmsg() errors in
send_packet() log messages.

Check for short writes no matter how the packet is
output. Return failure in this occurs. Check results
of all send_packet() calls.

If send_packet() fails, don't log that the DHCP message
was sent.



CVS: cvs.openbsd.org: src

2017-09-19 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2017/09/19 06:33:52

Modified files:
sbin/dhclient  : dispatch.c 

Log message:
flush_unpriv_ibuf() is now used only once so no
need to complicate things by passing it a string
identifying where it was called. Tweak log
verbiage.



CVS: cvs.openbsd.org: src

2017-09-19 Thread Todd C . Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2017/09/19 06:10:30

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

Log message:
Use explicit_bzero() instead of bzero() before free() to prevent
the compiler from optimizing away the bzero() call.  OK djm@



CVS: cvs.openbsd.org: src

2017-09-19 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2017/09/19 02:28:58

Modified files:
usr.bin/ctfconv: ctfconv.c 
usr.bin/ctfdump: ctfdump.c 

Log message:
fix fd leaks in error paths
ok mpi@