CVS: cvs.openbsd.org: src

2014-10-17 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2014/10/17 22:12:28 Modified files: lib/libc/regex : regcomp.c Log message: reallocarray() -- a little tricky to review ok doug millert

CVS: cvs.openbsd.org: src

2014-10-17 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2014/10/17 22:12:57 Modified files: usr.sbin/npppd/npppd: mppe.c npppd_ctl.c Log message: Use reallocarray() ok doug

CVS: cvs.openbsd.org: src

2014-10-17 Thread Doug Hogan
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2014/10/17 21:19:04 Modified files: libexec/ld.so/ldconfig: prebind.c Log message: Convert some malloc() and realloc() calls to reallocarray(). ok deraadt@

CVS: cvs.openbsd.org: src

2014-10-17 Thread Doug Hogan
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2014/10/17 21:16:19 Modified files: libexec/ld.so/ldd: ldd.c Log message: Simple malloc() to reallocarray() conversion. ok deraadt@

CVS: cvs.openbsd.org: src

2014-10-17 Thread Doug Hogan
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2014/10/17 21:13:04 Modified files: regress/sys/ffs: fstest.c Log message: Simple malloc() to reallocarray(). ok deraadt@

CVS: cvs.openbsd.org: src

2014-10-17 Thread Doug Hogan
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2014/10/17 21:11:54 Modified files: sbin/iked : pfkey.c Log message: Simple malloc() to reallocarray() conversion to potentially avoid integer overflow. ok deraadt@

CVS: cvs.openbsd.org: src

2014-10-17 Thread Doug Hogan
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2014/10/17 21:10:01 Modified files: sbin/isakmpd : pf_key_v2.c Log message: Convert malloc() with a size var using multiplication to reallocarray(). Avoid assigning the size unless reallocarray() succeeds

CVS: cvs.openbsd.org: src

2014-10-17 Thread Doug Hogan
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2014/10/17 21:04:28 Modified files: lib/libssl/src/ssl: s3_enc.c t1_enc.c Log message: Typical malloc() with size multiplication to reallocarray(). ok deraadt@

CVS: cvs.openbsd.org: www

2014-10-17 Thread Lawrence Teo
CVSROOT:/cvs Module name:www Changes by: l...@cvs.openbsd.org2014/10/17 20:31:01 Modified files: . : plus56.html Log message: fix typo; from TJ (blakkheim), thanks!

CVS: cvs.openbsd.org: src

2014-10-17 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2014/10/17 16:59:46 Modified files: lib/libevent : Makefile event.c Log message: Remove #ifdef HAVE_backend and remove references to unimplemented backends. OK nicm@

CVS: cvs.openbsd.org: src

2014-10-17 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/10/17 16:25:07 Modified files: lib/libc/db/man: hash.3 Log message: trivial sync of the first sentence of the DESCRIPTION with btree(3) and recno(3); from jean-philippe at ouellet dot biz

CVS: cvs.openbsd.org: src

2014-10-17 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/10/17 15:27:10 Modified files: usr.bin/col: col.c Log message: Correctly encode half line feed in the output stream for -f; this patch only changes two bits, note that '\011' != '9' == '\071

CVS: cvs.openbsd.org: src

2014-10-17 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/10/17 15:10:56 Modified files: usr.bin/col: col.1 Log message: Partial revert of rev. 1.7 (Nov. 21, 2000): The half line feed escape codes are decimal 8 and 9 (octal 010 and 011). While here

CVS: cvs.openbsd.org: src

2014-10-17 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2014/10/17 14:52:59 Modified files: lib/libevent : Makefile event.c evutil.c Log message: Remove some #ifdef HAVE_syscall. OK nicm@

CVS: cvs.openbsd.org: src

2014-10-17 Thread Stuart Henderson
CVSROOT:/cvs Module name:src Changes by: st...@cvs.openbsd.org 2014/10/17 14:37:57 Modified files: sys/arch/i386/i386: bus_space.c machdep.c sys/arch/i386/include: bus.h Log message: reinstate i386/bus_space diff now that serial consoles are fixed in sys/arch/i

CVS: cvs.openbsd.org: src

2014-10-17 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2014/10/17 14:34:24 Modified files: sys/arch/i386/i386: bios.c Log message: Initialize comconsiot. Fixes problems with the (now backed out) i386 bus_space(9) diff. ok sthen@

CVS: cvs.openbsd.org: src

2014-10-17 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2014/10/17 14:19:15 Modified files: usr.bin/finger : extern.h lprint.c sprint.c util.c Log message: Instead of doing strvis() of gecos string on output, do it when storing them in struct person since they ar

CVS: cvs.openbsd.org: src

2014-10-17 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2014/10/17 14:16:13 Modified files: usr.bin/finger : util.c Log message: Use strlcpy() instead of strncpy() when making a copy of pw_gecos.

CVS: cvs.openbsd.org: src

2014-10-17 Thread Stuart Henderson
CVSROOT:/cvs Module name:src Changes by: st...@cvs.openbsd.org 2014/10/17 13:35:32 Modified files: sys/arch/i386/i386: bus_space.c machdep.c sys/arch/i386/include: bus.h Log message: backout i386/bus_space diff for now, req'd by deraadt@ - problems at boot |

CVS: cvs.openbsd.org: src

2014-10-17 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2014/10/17 13:16:01 Modified files: lib/libevent : Makefile buffer.c evbuffer.c event.c event_tagging.c evutil.c kqueue.c log.c poll.c select.c signal.c

CVS: cvs.openbsd.org: src

2014-10-17 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2014/10/17 12:15:48 Modified files: sys/arch/i386/i386: machdep.c sys/arch/amd64/amd64: identcpu.c Log message: Also remove trailing spaces from the CPU brand string. ok deraadt@, armani@

CVS: cvs.openbsd.org: src

2014-10-17 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs Module name:src Changes by: jas...@cvs.openbsd.org 2014/10/17 11:09:50 Modified files: share/man/man5 : ruby-module.5 Log message: rspec2 will be removed

Re: [Bulk] CVS: cvs.openbsd.org: src

2014-10-17 Thread Chris Cappuccio
Peter Hessler [phess...@openbsd.org] wrote: > On 2014 Oct 17 (Fri) at 12:12:07 +0100 (+0100), Kevin Chadwick wrote: > :On Thu, 16 Oct 2014 19:55:00 -0600 (MDT) > :Ted Unangst wrote: > : > :> remove performance throttling code from here, use the kernel version > :> instead. this effectively kills -C

CVS: cvs.openbsd.org: src

2014-10-17 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2014/10/17 09:35:31 Modified files: sys/arch/i386/i386: apm.c Log message: revert previous. It isn't just i386 which cares about the setperf hiding, it is a lot of other systems too.

CVS: cvs.openbsd.org: src

2014-10-17 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2014/10/17 09:34:56 Modified files: sys/kern : sched_bsd.c Log message: cpu_setperf and perflevel must remain exposed, otherwise a bunch of MD code needs excess #ifndef SMALL_KERNEL

CVS: cvs.openbsd.org: src

2014-10-17 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/10/17 08:46:54 Modified files: usr.bin/du : du.1 du.c Log message: Add the -d flag (limit display depth) for compatibility with FreeBSD, DragonFly, NetBSD and GNU coreutils, even though it's

CVS: cvs.openbsd.org: src

2014-10-17 Thread Antoine Jacoutot
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2014/10/17 08:18:46 Modified files: etc: group Log message: Drop the _lkm group. ok dcoppa@ deraadt@

CVS: cvs.openbsd.org: src

2014-10-17 Thread Mark Lumsden
CVSROOT:/cvs Module name:src Changes by: l...@cvs.openbsd.org2014/10/17 07:25:13 Modified files: usr.bin/mg : paragraph.c Log message: If gotoeop() is called requiring more than one iteration, it behaves oddly if it reaches the end of buffer before completing all

CVS: cvs.openbsd.org: src

2014-10-17 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2014/10/17 07:21:44 Modified files: sbin/dhclient : dhclient.c Log message: Nuke 'increase' which was always set to 1. Replace the if/else that tested its value with the body of the if. No functional change

Re: [Bulk] CVS: cvs.openbsd.org: src

2014-10-17 Thread Peter Hessler
On 2014 Oct 17 (Fri) at 12:12:07 +0100 (+0100), Kevin Chadwick wrote: :On Thu, 16 Oct 2014 19:55:00 -0600 (MDT) :Ted Unangst wrote: : :> remove performance throttling code from here, use the kernel version :> instead. this effectively kills -C, though the option is kept for compat. : :>> redo the p

Re: [Bulk] CVS: cvs.openbsd.org: src

2014-10-17 Thread Kevin Chadwick
On Thu, 16 Oct 2014 19:55:00 -0600 (MDT) Ted Unangst wrote: > remove performance throttling code from here, use the kernel version > instead. this effectively kills -C, though the option is kept for compat. >> redo the performance throttling in the kernel. >> introduce a new sysctl, hw.perfpolicy

CVS: cvs.openbsd.org: src

2014-10-17 Thread Doug Hogan
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2014/10/17 02:03:04 Modified files: usr.bin/finger : util.c Log message: strvis() requires that the buffer is at least 4 * srclen + 1. ok deraadt@

CVS: cvs.openbsd.org: src

2014-10-17 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2014/10/17 01:43:33 Modified files: usr.sbin/apm : apm.c Log message: remove -C from usage();

CVS: cvs.openbsd.org: src

2014-10-17 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2014/10/17 01:41:40 Modified files: usr.sbin/apmd : apmd.c Log message: remove -C from usage();