CVS: cvs.openbsd.org: src

2016-05-28 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/05/28 20:19:02 Modified files: usr.sbin/rbootd: Makefile parseconf.c rbootd.c utils.c Log message: Delete blocking/unblocking of signals, as the handlers now just set flags that are tested by

CVS: cvs.openbsd.org: src

2016-05-28 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2016/05/28 19:02:21 Modified files: usr.bin/mklocale: lex.l mklocale.1 Log message: Eat all blanks between the VARIABLE keywords and the definition, not just the first one. Otherwise we end up storing the

CVS: cvs.openbsd.org: src

2016-05-28 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2016/05/28 18:48:05 Modified files: sys/sys: exec_elf.h Log message: define PT_OPENBSD_WXNEEDED

CVS: cvs.openbsd.org: src

2016-05-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2016/05/28 17:46:06 Modified files: sbin/ncheck_ffs: ncheck_ffs.c Log message: Don't pledge before opendev() and ioctl DIOCGDINFO were called. Avoids a pledge crash with 'ncheck_ffs /dev/tty'. deraadt

CVS: cvs.openbsd.org: src

2016-05-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2016/05/28 17:44:27 Modified files: sbin/tunefs: tunefs.c Log message: Don't pledge before opendev. Just leave pledge "stdio" right afterwards. deraadt agrees

CVS: cvs.openbsd.org: src

2016-05-28 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2016/05/28 17:38:31 Modified files: sbin/disklabel : disklabel.c Log message: back out previous; -wAT template vnd0 fails

CVS: cvs.openbsd.org: src

2016-05-28 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2016/05/28 17:24:16 Modified files: gnu/usr.bin/binutils-2.17/bfd: elf-bfd.h elf.c elflink.c gnu/usr.bin/binutils-2.17/binutils: readelf.c gnu/usr.bin/binutils-2.17/include: bfdlink.h

CVS: cvs.openbsd.org: src

2016-05-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2016/05/28 16:26:13 Modified files: sbin/pdisk : pdisk.c Log message: Remove all the pledge "disklabel" before ioctl DIOCGPDINFO is called in order to avoid a pledge crash with 'pdisk /dev/tty'. Only

CVS: cvs.openbsd.org: www

2016-05-28 Thread T . J . Townsend
CVSROOT:/cvs Module name:www Changes by: t...@cvs.openbsd.org2016/05/28 15:29:45 Modified files: faq: faq14.html Log message: tweak previous: remove extra cd command, tighten up wording, zap stray

CVS: cvs.openbsd.org: src

2016-05-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2016/05/28 15:21:20 Modified files: usr.sbin/smtpd : ca.c config.c control.c lka.c pony.c queue.c scheduler.c smtpd.c smtpd.h Log message: Implement the fork+exec pattern in smtpd.

CVS: cvs.openbsd.org: src

2016-05-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2016/05/28 14:40:23 Modified files: sbin/growfs: growfs.c Log message: Give growfs a chance to error out with ENOTTY before pledging disklabel. Fixes pledge crash due to ioctl DIOCGDINFO with an

CVS: cvs.openbsd.org: src

2016-05-28 Thread Bob Beck
CVSROOT:/cvs Module name:src Changes by: b...@cvs.openbsd.org2016/05/28 14:14:58 Modified files: usr.bin/nc : netcat.c Log message: Fix pledge violation with -P s used and we need to supply a password for an http proxy - we need tty in this case. Found and fixed

CVS: cvs.openbsd.org: src

2016-05-28 Thread Stuart Henderson
CVSROOT:/cvs Module name:src Changes by: st...@cvs.openbsd.org 2016/05/28 13:54:26 Modified files: regress/sys/net/pf_fragment: Makefile Log message: comment typos

CVS: cvs.openbsd.org: src

2016-05-28 Thread Bob Beck
CVSROOT:/cvs Module name:src Changes by: b...@cvs.openbsd.org2016/05/28 13:39:16 Modified files: usr.bin/nc : netcat.c Log message: Fix nc -verbose mode when used on a unix domain socket. Noticed by and a modified version of fix from

CVS: cvs.openbsd.org: src

2016-05-28 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2016/05/28 12:31:14 Modified files: share/man/man4 : iwm.4 Log message: Mention 3165 device support in iwm(4) man page. Patch by Imre Vadasz.

CVS: cvs.openbsd.org: src

2016-05-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2016/05/28 12:00:42 Modified files: sbin/fsck_msdos: main.c Log message: Another misplaced pledge disklabel that needs to be removed because of a DIOCGPDINFO that could be applied to a non-disk and thus

CVS: cvs.openbsd.org: src

2016-05-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2016/05/28 12:56:37 Modified files: lib/libc/gen : signal.3 Log message: The synopsis rendered very poorly because of a "Quite Ugly but syntactically correct" roff mess. Follow the mdoc style guide on

CVS: cvs.openbsd.org: src

2016-05-28 Thread Martijn van Duren
CVSROOT:/cvs Module name:src Changes by: mart...@cvs.openbsd.org 2016/05/28 12:30:35 Modified files: usr.bin/vi/cl : cl_screen.c Log message: Test if stdin is a terminal before resetting the tty state. Diff supplied by Kai Antweiler. OK semarie@ and deraadt@

CVS: cvs.openbsd.org: www

2016-05-28 Thread Theo Buehler
CVSROOT:/cvs Module name:www Changes by: t...@cvs.openbsd.org2016/05/28 12:31:36 Modified files: faq: faq14.html Log message: Add a line to the softraid crypto rundown that ensures that the necessary device nodes are created. This has bitten a few people

CVS: cvs.openbsd.org: www

2016-05-28 Thread Theo Buehler
CVSROOT:/cvs Module name:www Changes by: t...@cvs.openbsd.org2016/05/28 12:47:54 Modified files: faq: faq14.html Log message: Bah, I edited the wrong section. Fix previous...

CVS: cvs.openbsd.org: src

2016-05-28 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2016/05/28 12:30:01 Modified files: sys/dev/pci: if_iwm.c Log message: Add support for Intel Wireless 3165 devices to iwm(4). Patch by Imre Vadasz.

CVS: cvs.openbsd.org: src

2016-05-28 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2016/05/28 11:16:39 Modified files: sbin/fsirand : fsirand.c Log message: Fix a pledge abort that can be triggered by using DIOCGDINFO on a file that is not a disk device (e.g. fsirand -p /altroot) by

CVS: cvs.openbsd.org: src

2016-05-28 Thread Bob Beck
CVSROOT:/cvs Module name:src Changes by: b...@cvs.openbsd.org2016/05/28 10:46:44 Modified files: sbin/disklabel : disklabel.c Log message: host readlabel() above the pledge so we can avoid pledge violations when the provided device is not a disk ok tb@

CVS: cvs.openbsd.org: src

2016-05-28 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2016/05/28 10:11:10 Modified files: usr.bin/lock : lock.c Log message: repair braces. from ilya.kaliman/gsoares/natano

CVS: cvs.openbsd.org: www

2016-05-28 Thread Stuart Henderson
CVSROOT:/cvs Module name:www Changes by: st...@cvs.openbsd.org 2016/05/28 10:01:45 Modified files: faq: current.html Log message: current.html entry: If you're on old firmware, run fw_update before booting the ramdisk kernel if you will use iwm(4) as a

CVS: cvs.openbsd.org: src

2016-05-28 Thread Bob Beck
CVSROOT:/cvs Module name:src Changes by: b...@cvs.openbsd.org2016/05/28 09:46:43 Modified files: sbin/disklabel : disklabel.c Log message: Hoist the opendev() call before the pledge because it can ioctl() when the provided path is bogus or not a device. ok deraadt

CVS: cvs.openbsd.org: src

2016-05-28 Thread Stuart Henderson
CVSROOT:/cvs Module name:src Changes by: st...@cvs.openbsd.org 2016/05/28 09:53:39 Modified files: sys/arch/i386/stand/boot: conf.c sys/arch/i386/stand/cdboot: conf.c sys/arch/i386/stand/pxeboot: conf.c sys/arch/amd64/stand/boot: conf.c

CVS: cvs.openbsd.org: src

2016-05-28 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2016/05/28 09:46:00 Modified files: lib/libc/net : rcmdsh.c Log message: Use getaddrinfo() instead of the non-standard gethostbyname2(). OK deraadt@ jca@ jung@ florian@

CVS: cvs.openbsd.org: src

2016-05-28 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2016/05/28 09:48:30 Modified files: lib/libc/net : rcmd.3 rcmdsh.3 Log message: rcmd(3) and rcmdsh(3) use getaddrinfo(3) not gethostbyname(3).

CVS: cvs.openbsd.org: src

2016-05-28 Thread Bob Beck
CVSROOT:/cvs Module name:src Changes by: b...@cvs.openbsd.org2016/05/28 10:00:19 Modified files: sbin/disklabel : disklabel.c Log message: fix crash if filename not provided

CVS: cvs.openbsd.org: src

2016-05-28 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2016/05/28 07:40:44 Modified files: usr.bin/mandoc : cgi.c man.cgi.8 Log message: Simplify search form: minus two visible control elements, minus one table, minus twenty lines of code, no loss of

CVS: cvs.openbsd.org: src

2016-05-28 Thread Stuart Henderson
CVSROOT:/cvs Module name:src Changes by: st...@cvs.openbsd.org 2016/05/28 06:04:33 Modified files: sys/net: pf.c pf_norm.c Log message: Backout pf.c r1.972, pf_norm.c r1.184, ok claudio pf_test calls pf_refragment6 with dst=NULL, which is passed down to

CVS: cvs.openbsd.org: src

2016-05-28 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2016/05/28 04:10:36 Modified files: distrib/armv7/miniroot: Makefile.inc distrib/armv7/ramdisk: install.md Log message: Assume sabrelite/nitrogen has a bootefi enabled u-boot in flash and just

CVS: cvs.openbsd.org: src

2016-05-28 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2016/05/28 04:00:55 Modified files: distrib/armv7/miniroot: Makefile.inc etc/etc.armv7 : disktab Log message: use efiboot in armv7 miniroot images

CVS: cvs.openbsd.org: src

2016-05-28 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2016/05/28 02:34:17 Modified files: sys/dev/pci: if_iwm.c Log message: In iwm(4), don't parse nvram antenna data for 7k devices, they don't have it. And don't complain if no data is provided in nvram,

CVS: cvs.openbsd.org: src

2016-05-28 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2016/05/28 02:22:16 Modified files: share/man/man4 : iwm.4 pci.4 Log message: iwm(4) man page updates (new firmware version 16, 8260 device support)

CVS: cvs.openbsd.org: src

2016-05-28 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2016/05/28 02:13:16 Modified files: sys/dev/pci: if_iwm.c if_iwmreg.h if_iwmvar.h Log message: Add support for Intel Wireless 8260 devices to iwm(4). Firmware has been available in fw_update(1) for

CVS: cvs.openbsd.org: www

2016-05-28 Thread Theo Buehler
CVSROOT:/cvs Module name:www Changes by: t...@cvs.openbsd.org2016/05/28 01:55:49 Modified files: faq: current.html Log message: some markup tweaks; new sentence - new line

CVS: cvs.openbsd.org: src

2016-05-28 Thread Alexandre Ratchov
CVSROOT:/cvs Module name:src Changes by: ratc...@cvs.openbsd.org 2016/05/28 01:28:50 Modified files: usr.bin/aucat : aucat.c Log message: Fix file block size rounding and ensure it's large enough to store a full audio block.

CVS: cvs.openbsd.org: src

2016-05-28 Thread Martin Natano
CVSROOT:/cvs Module name:src Changes by: nat...@cvs.openbsd.org 2016/05/28 01:00:18 Modified files: usr.sbin/arp : arp.c usr.sbin/dhcpd : bpf.c usr.sbin/dhcrelay: bpf.c usr.sbin/hostapd: hostapd.c usr.sbin/mopd/common: pf.c

CVS: cvs.openbsd.org: src

2016-05-28 Thread Marcus Glocker
CVSROOT:/cvs Module name:src Changes by: mgloc...@cvs.openbsd.org2016/05/28 00:26:49 Modified files: sys/dev/usb: uvideo.c Log message: Do the endpoint verification before opening the pipe on the selected alternate interface endpoint instead statically on