CVS: cvs.openbsd.org: src

2017-07-22 Thread joshua stein
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2017/07/22 15:06:17 Modified files: sys/dev/acpi : acpi.c acpibat.c acpidev.h Log message: acpibat: look for _BIX first before falling back on _BIF ACPI 4.0 deprecated _BIF for battery status so some newe

CVS: cvs.openbsd.org: src

2017-07-22 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2017/07/22 13:52:01 Modified files: usr.sbin/ifstated: ifstated.c Log message: No need for sys/ioctl.h any more

CVS: cvs.openbsd.org: src

2017-07-22 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2017/07/22 12:33:51 Modified files: sys/arch/mips64/mips64: trap.c Log message: Rename variables for clarity. It does not seem necessary to provide initial value for `sicode'. When `signal' gets set, `sicod

CVS: cvs.openbsd.org: src

2017-07-22 Thread Anton Lindqvist
CVSROOT:/cvs Module name:src Changes by: an...@cvs.openbsd.org 2017/07/22 12:33:38 Modified files: sys/arch/macppc/macppc: ofw_machdep.c Log message: Initialize the brightness to a valid value if found. ok deraadt@

CVS: cvs.openbsd.org: src

2017-07-22 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2017/07/22 11:55:20 Modified files: sbin/dhclient : dhclient.c dhcpd.h kroute.c Log message: Add set_routes() and move bind_lease() route magic into it. Swap parameter order in add_default_route() to be con

CVS: cvs.openbsd.org: www

2017-07-22 Thread T . J . Townsend
CVSROOT:/cvs Module name:www Changes by: t...@cvs.openbsd.org2017/07/22 11:10:44 Modified files: faq/pf : example1.html Log message: someone actually tried to use "IP.OF.UPSTREAM.RESOLVER" in their unbound config, so clarify this is an example string meant to

CVS: cvs.openbsd.org: src

2017-07-22 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2017/07/22 11:06:40 Modified files: usr.bin/newsyslog: newsyslog.c Log message: Delete extra whitespaces

CVS: cvs.openbsd.org: src

2017-07-22 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2017/07/22 11:05:14 Modified files: usr.bin/newsyslog: newsyslog.c Log message: err(1, "whatever") -> err(1, NULL) for malloc(3) failures

CVS: cvs.openbsd.org: src

2017-07-22 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2017/07/22 11:01:09 Modified files: usr.bin/time : time.c Log message: use automatic variables rather than globals; no functional change; from ScottCheloha at gmail dot com on tech, tweaked by me

CVS: cvs.openbsd.org: src

2017-07-22 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2017/07/22 10:54:46 Modified files: sys/net80211 : ieee80211_proto.c Log message: Make the kernel panic if an invalid state transition occurs in net80211. Triggers on driver bugs such as those which were f

CVS: cvs.openbsd.org: src

2017-07-22 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2017/07/22 10:48:58 Modified files: sys/dev/pci: if_iwm.c Log message: Add frame length range checks to the input path of iwm(4). No security benefit since the firmware has DMA access but we should not h

CVS: cvs.openbsd.org: src

2017-07-22 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2017/07/22 10:48:21 Modified files: sys/net80211 : ieee80211_pae_input.c Log message: Fix length checks in EAPOL key frame parsing. Problem reported by Ilja Van Sprundel. ok tb@ kevlo@

CVS: cvs.openbsd.org: src

2017-07-22 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2017/07/22 10:44:15 Modified files: sys/arch/mips64/mips64: trap.c Log message: Bring SIGBUS and SIGSEGV handling better in line with the other architectures. OK kettenis@, deraadt@

CVS: cvs.openbsd.org: src

2017-07-22 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2017/07/22 10:20:10 Modified files: usr.bin/time : time.c Log message: no need to cast signal(3) and fprintf(3) return values to (void) in standard use cases with constant arguments, and prefer get

CVS: cvs.openbsd.org: src

2017-07-22 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2017/07/22 10:12:27 Modified files: regress/sys/kern/siginfo-fault: siginfo-fault.c Log message: Tolerate imprecise fault address on sparc64 where the hardware doesn't provide tho low order bits. ok

CVS: cvs.openbsd.org: src

2017-07-22 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2017/07/22 09:39:15 Modified files: gnu/usr.bin/binutils-2.17/bfd: elflink.c Log message: Prefer the definition of a variable in the executable over a definition in a shared library, even for commons

CVS: cvs.openbsd.org: src

2017-07-22 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2017/07/22 09:34:22 Modified files: sbin/dhclient : dhclient.c Log message: Whitespace.

CVS: cvs.openbsd.org: src

2017-07-22 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2017/07/22 09:28:56 Modified files: sbin/dhclient : dhclient.c Log message: Oops. Missed chunk keeping /32 netmask magic.

CVS: cvs.openbsd.org: src

2017-07-22 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2017/07/22 09:20:11 Modified files: sys/arch/hppa/hppa: trap.c Log message: Fix the various SIGSEGV and SIGBUS scenarios to match what we do on amd64/arm64/armv7/i386/sparc64. ok visa@

CVS: cvs.openbsd.org: src

2017-07-22 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2017/07/22 09:17:49 Modified files: sys/arch/sparc64/sparc64: trap.c Log message: Fix the various SIGSEGV and SIGBUS scenarios to match what we do on amd64/arm64/armv7/i386. ok visa@, deraadt@

CVS: cvs.openbsd.org: src

2017-07-22 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2017/07/22 08:56:27 Modified files: sbin/dhclient : dhclient.c dhcpd.h kroute.c privsep.c privsep.h Log message: Rename *_add_address to *_set_address to reflect that the lease address replaces all current

CVS: cvs.openbsd.org: src

2017-07-22 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2017/07/22 08:33:45 Modified files: sys/kern : kern_clock.c sys/dev/pci/drm: drmP.h drm_linux.h Log message: Introduce jiffies, a volatile unsigned long version of our ticks variable f

CVS: cvs.openbsd.org: src

2017-07-22 Thread Anton Lindqvist
CVSROOT:/cvs Module name:src Changes by: an...@cvs.openbsd.org 2017/07/22 07:50:54 Modified files: regress/bin/csh: Makefile filec.sh regress/bin/ksh/edit: edit.c emacs.sh subr.sh vi.sh regress/usr.bin/mail: Makefile send.sh Log message: Add missing RC

CVS: cvs.openbsd.org: www

2017-07-22 Thread Visa Hankala
CVSROOT:/cvs Module name:www Changes by: v...@cvs.openbsd.org2017/07/22 07:28:41 Modified files: . : octeon.html Log message: Add two machines that are usable in version 6.1.

CVS: cvs.openbsd.org: src

2017-07-22 Thread Anton Lindqvist
CVSROOT:/cvs Module name:src Changes by: an...@cvs.openbsd.org 2017/07/22 07:22:32 Modified files: lib/libc/stdio : getdelim.3 Log message: Favor err() over perror() in example. ok schwarze@

CVS: cvs.openbsd.org: src

2017-07-22 Thread Antoine Jacoutot
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2017/07/22 03:59:08 Modified files: usr.sbin/syspatch: syspatch.sh Log message: Cleanup previous release patches and backup kernel _before_ applying new patches. This will mitigate possible /var over

CVS: cvs.openbsd.org: src

2017-07-22 Thread Anton Lindqvist
CVSROOT:/cvs Module name:src Changes by: an...@cvs.openbsd.org 2017/07/22 03:37:21 Modified files: bin/csh: csh.h extern.h proc.c proc.h time.c bin/ksh: c_sh.c Log message: Use monotonic clock for the time command in csh and ksh. >From Scott Ch