CVS: cvs.openbsd.org: src

2015-10-15 Thread Vincent Gross
CVSROOT:/cvs Module name:src Changes by: vgr...@cvs.openbsd.org 2015/10/15 04:27:18 Modified files: sys/netinet6 : in6_pcb.c Log message: in6_pcbconnect() returns EADDRNOTAVAIL when all the ports in the range portfirst .. portlast are in use. ok millert@, mpi@

CVS: cvs.openbsd.org: src

2015-10-15 Thread Sunil Nimmagadda
CVSROOT:/cvs Module name:src Changes by: su...@cvs.openbsd.org 2015/10/15 02:18:23 Modified files: usr.sbin/smtpd : smtpctl.8 smtpctl.c Log message: Let "all" as an argument for "resume envelope", "pause envelope" and "remove" subcommands. seems potentially useful

CVS: cvs.openbsd.org: src

2015-10-15 Thread Michael McConville
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/10/15 00:35:54 Modified files: sbin/isakmpd : hash.c Log message: A classic case for bzero() -> explicit_bzero() ok deraadt@

CVS: cvs.openbsd.org: src

2015-10-15 Thread Gilles Chehade
CVSROOT:/cvs Module name:src Changes by: gil...@cvs.openbsd.org 2015/10/15 02:29:41 Modified files: usr.sbin/smtpd : iobuf.c Log message: iobuf_queue() should return the number of bytes it queued on success, not 0 ok eric@

CVS: cvs.openbsd.org: src

2015-10-15 Thread Sebastien Marie
CVSROOT:/cvs Module name:src Changes by: sema...@cvs.openbsd.org 2015/10/15 09:11:10 Modified files: distrib/special/fsck_ext2fs: Makefile distrib/special/fsck_ffs: Makefile sbin/fsck_ext2fs: setup.c sbin/fsck_ffs : setup.c Log message:

CVS: cvs.openbsd.org: src

2015-10-15 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/15 10:10:57 Modified files: distrib/special/more: more.c Log message: remove '!' (subshell) and 'v' (edit) commands from ramdisk more(1) command. first off, ^Z job control was added to BSD unix

CVS: cvs.openbsd.org: src

2015-10-15 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2015/10/15 08:06:04 Modified files: sys/arch/octeon/dev: if_cnmac.c Log message: Let the rx path of cnmac run without the kernel lock. To avoid the need of a mutex, the path no longer cleans up the queue of

CVS: cvs.openbsd.org: src

2015-10-15 Thread YASUOKA Masahiko
CVSROOT:/cvs Module name:src Changes by: yasu...@cvs.openbsd.org 2015/10/15 07:59:21 Modified files: sys/net: if_vxlan.c Log message: Fix previous. The port number is not included in sc_src and it is checked already at beginning of the loop. ok reyk

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 15:25:44 Modified files: etc/mail : aliases Log message: no mail for _rebound. deraadt

CVS: cvs.openbsd.org: www

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:www Changes by: t...@cvs.openbsd.org2015/10/15 18:35:41 Modified files: . : errata56.html errata57.html errata58.html Log message: errata!

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 19:55:19 Modified files: usr.sbin/rebound: rebound.c Log message: safety check that we're dealing with the filter we expect

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 20:09:31 Modified files: usr.sbin/rebound: rebound.c Log message: fine tune the logging some more

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 19:50:39 Modified files: usr.sbin/rebound: rebound.c Log message: most things should be static

CVS: cvs.openbsd.org: www

2015-10-15 Thread Nick Holland
CVSROOT:/cvs Module name:www Changes by: n...@cvs.openbsd.org2015/10/15 20:54:25 Modified files: faq: index.html Log message: +faq10.html#doas

CVS: cvs.openbsd.org: src

2015-10-15 Thread Michael McConville
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/10/15 21:17:56 Modified files: bin/ksh: alloc.c Log message: Add allocarray(), an overflow-safe allocation function. We avoided reallocation support because it demands more fancy footwork to

CVS: cvs.openbsd.org: src

2015-10-15 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/15 17:06:46 Modified files: usr.bin/sdiff : sdiff.c Log message: After spawning, the parent can pledge "stdio rpath wpath cpath" from rob pierce

CVS: cvs.openbsd.org: www

2015-10-15 Thread Brent Cook
CVSROOT:/cvs Module name:www Changes by: bc...@cvs.openbsd.org 2015/10/15 19:04:03 Modified files: libressl : index.html releases.html Log message: update for 2.0.6, 2.1.8, 2.2.4

CVS: cvs.openbsd.org: www

2015-10-15 Thread Nick Holland
CVSROOT:/cvs Module name:www Changes by: n...@cvs.openbsd.org2015/10/15 19:29:56 Modified files: faq: upgrade58.html Log message: wording and typos from TJ at mrsk dot me, thanks!

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2015/10/15 17:35:38 Modified files: usr.bin/mandoc : mandoc.c roff.c Log message: Delete two preprocessor constants that are no longer used. Patch from Michael Reed .

CVS: cvs.openbsd.org: www

2015-10-15 Thread Nick Holland
CVSROOT:/cvs Module name:www Changes by: n...@cvs.openbsd.org2015/10/15 20:45:26 Modified files: faq: faq10.html Log message: introduction to doas. Help and "learn to spell!" from tedu@.

CVS: cvs.openbsd.org: src

2015-10-15 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/15 21:05:25 Modified files: distrib/sets/lists/base: mi distrib/sets/lists/man: mi Log message: sync

CVS: cvs.openbsd.org: src

2015-10-15 Thread Michael McConville
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/10/15 16:53:50 Modified files: bin/ksh: syn.c tree.h Log message: Remove three distracting aliases for NULL. ok nicm@

CVS: cvs.openbsd.org: src

2015-10-15 Thread Damien Miller
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2015/10/15 17:08:23 Modified files: usr.bin/ssh: sshkey.c Log message: argument to sshkey_from_private() and sshkey_demote() can't be NULL

CVS: cvs.openbsd.org: src

2015-10-15 Thread Damien Miller
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2015/10/15 17:51:40 Modified files: usr.bin/ssh: channels.c mux.c ssh-add.c ssh.c Log message: fix some signed/unsigned integer type mismatches in format strings; reported by Nicholas Lemonias

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 19:37:14 Modified files: usr.sbin/rebound: rebound.c Log message: exit(1) is better for the impossible condition

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2015/10/15 17:46:20 Modified files: usr.bin/ctags : ctags.1 Log message: Do not abuse .Nm for emphasis; patch from Michael Reed . Also drop .Tn while here.

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 19:58:28 Modified files: usr.sbin/rebound: rebound.c Log message: simplify logging functions. once a daemon, always a daemon

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 15:59:55 Modified files: usr.sbin/rebound: rebound.c Log message: do not insert entry into cache until it's fully formed

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 16:12:26 Modified files: usr.sbin/rebound: rebound.c Log message: better memory handling of the request/cache chain

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2015/10/15 16:27:09 Modified files: usr.bin/mandoc : mdoc_macro.c Log message: When blk_full() handles an .It line in .Bl -column and indirectly calls phrase_ta() to handle a .Ta child macro,

CVS: cvs.openbsd.org: src

2015-10-15 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/15 14:47:11 Modified files: usr.sbin/rebound: rebound.c Log message: trivial KNF

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2015/10/15 16:45:07 Modified files: usr.bin/mandoc : mdoc_argv.c Log message: Simplify the part of args() that is handling .Bl -column phrases: Delete manual "Ta" handling because macro handling

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 14:13:57 Modified files: usr.sbin/rebound: rebound.c Log message: just a space in usage, from deraadt

CVS: cvs.openbsd.org: src

2015-10-15 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2015/10/15 14:14:23 Modified files: libexec/login_token: login_token.c Log message: Pledge login_token with "stdio rpath wpath cpath fattr getpw tty". OK deraadt@

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 15:19:06 Modified files: etc: group master.passwd Log message: _rebound user and group (52)

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 15:20:09 Modified files: usr.sbin/rebound: rebound.c Log message: now with _rebound user, we can try a little harder at privdrop

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 15:27:37 Modified files: usr.sbin : Makefile Log message: everybody can build rebound

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 15:39:15 Modified files: usr.sbin/rebound: rebound.c Log message: assert is the wrong tool

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 16:17:43 Modified files: usr.sbin/rebound: rebound.c Log message: make sure req is zeroed in tcp case

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 15:35:27 Modified files: usr.sbin/rebound: rebound.c Log message: the inet sockets don't work well with inet6 addrs. pick family from addr. detected by naddy

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 14:58:14 Modified files: usr.sbin/rebound: rebound.c Log message: make the HUP interlocking in the parent work better.

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 15:25:05 Modified files: usr.sbin/rebound: rebound.c Log message: introduce logerr, since most logging is followed by exit

CVS: cvs.openbsd.org: src

2015-10-15 Thread Stuart Henderson
CVSROOT:/cvs Module name:src Changes by: st...@cvs.openbsd.org 2015/10/15 15:22:11 Modified files: usr.sbin/nsd : Makefile.bsd-wrapper Log message: don't allow NSD to pick up libevent from /usr/local if the libevent2 package is installed.

CVS: cvs.openbsd.org: src

2015-10-15 Thread Michael McConville
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/10/15 14:01:53 Modified files: bin/ksh: tty.c Log message: Remove an unused included header (sys/stat.h).

CVS: cvs.openbsd.org: src

2015-10-15 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2015/10/15 14:26:47 Modified files: usr.sbin/syslogd: privsep.c syslogd.c syslogd.h Log message: In syslogd replace the dprintf() macro with a logdebug() function as dprintf(3) is in libc now and does

Re: CVS: cvs.openbsd.org: src

2015-10-15 Thread Michael McConville
Michael McConville wrote: > CVSROOT: /cvs > Module name: src > Changes by: m...@cvs.openbsd.org2015/10/15 14:01:53 > > Modified files: > bin/ksh: tty.c > > Log message: > Remove an unused included header (sys/stat.h). ok'd by nicm@

CVS: cvs.openbsd.org: src

2015-10-15 Thread Brent Cook
CVSROOT:/cvs Module name:src Changes by: bc...@cvs.openbsd.org 2015/10/15 15:05:41 Modified files: lib/libssl/src/crypto: Tag: OPENBSD_5_8 opensslv.h Log message: Bump LibreSSL version number to 2.2.4 in 5.8 release branch.

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 15:56:52 Modified files: usr.sbin/rebound: rebound.c Log message: doh, not all requests are the same size. check len first.

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 13:42:54 src/usr.sbin/rebound Update of /cvs/src/usr.sbin/rebound In directory cvs.openbsd.org:/tmp/cvs-serv12055/rebound Log Message: Directory /cvs/src/usr.sbin/rebound added to the repository

CVS: cvs.openbsd.org: src

2015-10-15 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2015/10/15 13:48:44 Modified files: sys/net: pf_lb.c Log message: When using a pf rule with both nat-to and rdr-to, it could happen that the nated source port was reused as destination port. Do not

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 13:49:22 Modified files: usr.sbin/rebound: rebound.c Log message: child can be pledged down a bit to just sockets and io

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 13:43:30 Added files: usr.sbin/rebound: Makefile randomid.c rebound.8 rebound.c Log message: import rebound, a lightweight dns proxy, for further polishing

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 13:51:45 Modified files: usr.sbin/rebound: rebound.8 Log message: add a hint about the config file, until it changes

CVS: cvs.openbsd.org: src

2015-10-15 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/15 16:21:28 Modified files: usr.sbin/rebound: rebound.c Log message: it is perhaps better style to not call close() on -1, even if harmless

CVS: cvs.openbsd.org: src

2015-10-15 Thread Miod Vallat
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/10/15 22:20:54 Modified files: sbin/disklabel : disklabel.8 Log message: Remove -B from EXAMPLES; reminded by jmc@

CVS: cvs.openbsd.org: src

2015-10-15 Thread Doug Hogan
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2015/10/15 23:35:19 Modified files: usr.bin/ftp: main.c Log message: Pledge for ftp(1) in non-interactive mode. We will iterate and remove some of the pledges in the future. This is conservative for

CVS: cvs.openbsd.org: src

2015-10-15 Thread Doug Hogan
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2015/10/15 23:55:23 Modified files: usr.sbin/identd: identd.c Log message: Pledge support for the parent/resolver in identd(8). This limits the resolver to just "stdio getpw" or "stdio getpw rpath"

CVS: cvs.openbsd.org: src

2015-10-15 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/15 10:38:04 Modified files: lib/librthread : rthread_cancel.c Log message: Handle F_ISATTY in the fcntl() stub as well ok guenther

CVS: cvs.openbsd.org: src

2015-10-15 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2015/10/15 11:23:09 Modified files: usr.bin/x99token: x99token.c Log message: Plegde x99token with "stdio rpath wpath cpath fattr getpw tty". with and OK deraadt@

CVS: cvs.openbsd.org: src

2015-10-15 Thread Miod Vallat
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/10/15 13:29:32 Modified files: sys/arch/vax/stand/xxboot: Makefile Log message: No need to create links for xxboot now that MI installboot is the preferred way to install boot blocks.

CVS: cvs.openbsd.org: src

2015-10-15 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2015/10/15 13:30:03 Modified files: usr.bin/x99token: x99token.c Log message: Avoid a race between fopen(3) and fchmod(2). Use umask(2) and unlink(2) and fopen(3) to prevent an attacker to open an old file

CVS: cvs.openbsd.org: src

2015-10-15 Thread Miod Vallat
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/10/15 13:27:30 Modified files: usr.sbin/installboot: bootstrap.c hppa64_installboot.c hppa_installboot.c installboot.h landisk_installboot.c

CVS: cvs.openbsd.org: src

2015-10-15 Thread Miod Vallat
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/10/15 13:28:32 Modified files: distrib/vax: install.md distrib/vax/common: Makefile.inc list distrib/vax/iso: Makefile distrib/vax/ramdisk: Makefile.inc list.local Log

CVS: cvs.openbsd.org: src

2015-10-15 Thread Miod Vallat
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/10/15 13:31:15 Modified files: sbin/disklabel : Makefile disklabel.8 disklabel.c editor.c Log message: Remove disklabel -B (NUMBOOT) support. All the platforms which used to need it are now using MI

CVS: cvs.openbsd.org: src

2015-10-15 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/15 13:35:24 Modified files: lib/libutil: pw_lock.3 Log message: Don't Xr flock, since that is not the locking method used. ok millert

CVS: cvs.openbsd.org: src

2015-10-15 Thread Michael McConville
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/10/15 13:36:50 Modified files: bin/ksh: vi.c Log message: Introduce an unsigned char variable for the ctype function calls. ok millert@

CVS: cvs.openbsd.org: src

2015-10-15 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/15 11:55:41 Modified files: sys/kern : kern_pledge.c Log message: Add TIOCFLUSH to "tty" in support of tcflush()

CVS: cvs.openbsd.org: src

2015-10-15 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/15 11:50:05 Modified files: sys/kern : kern_pledge.c Log message: Exposing FIOASYNC in pledge "ioctl" is a mistake; remove it, cannot find safe uses of it

CVS: cvs.openbsd.org: src

2015-10-15 Thread Stuart Henderson
CVSROOT:/cvs Module name:src Changes by: st...@cvs.openbsd.org 2015/10/15 13:18:01 Modified files: share/snmp : OPENBSD-RELAYD-MIB.txt Log message: add missing comma and missing range restriction, found by smilint

CVS: cvs.openbsd.org: src

2015-10-15 Thread Michael McConville
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/10/15 12:40:38 Modified files: sbin/iked : config.c iked.c ikev2.c ikev2_msg.c ikev2_pld.c pfkey.c Log message: Remove some unnecessary NULL-checks before free(). Change

CVS: cvs.openbsd.org: src

2015-10-15 Thread Stuart Henderson
CVSROOT:/cvs Module name:src Changes by: st...@cvs.openbsd.org 2015/10/15 13:15:02 Modified files: share/snmp : OPENBSD-RELAYD-MIB.txt Log message: relaydMIBObjects, not relaydMIBOjbects. From Rob Pierce.