CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 23:47:54 Modified files: usr.bin/lex: flexdef.h main.c Log message: Some of these large so easy to contain, with "stdio rpath". ok doug

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 23:43:48 Modified files: usr.bin/getcap : getcap.c Log message: simple program using "stdio rpath" ok doug

CVS: cvs.openbsd.org: src

2015-10-09 Thread Doug Hogan
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2015/10/09 23:35:22 Modified files: usr.bin/cmp: cmp.c Log message: Add pledge support to cmp(1). This is a simple case of using "stdio rpath" until all files are opened and then dropping down to "stdio

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 23:32:52 Modified files: usr.bin/du : du.c Log message: pledge to only use "stdio rpath"; ok doug

CVS: cvs.openbsd.org: src

2015-10-09 Thread Doug Hogan
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2015/10/09 23:26:57 Modified files: usr.bin/getent : getent.c Log message: Add pledge support to getent(1). This pledges the superset of all requests for the various getent databases and then drops to the m

CVS: cvs.openbsd.org: src

2015-10-09 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2015/10/09 23:12:33 Modified files: usr.sbin/eigrpd: rde.c eigrpe.c eigrpd.c Log message: Make use of pledge(2). ok deraadt

CVS: cvs.openbsd.org: src

2015-10-09 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2015/10/09 23:09:19 Modified files: usr.sbin/eigrpd: interface.c eigrpe.c Log message: Move some interface initialization bits from if_init() to eigrp_if_start() and call if_init() only during the startup of

CVS: cvs.openbsd.org: src

2015-10-09 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2015/10/09 23:07:10 Modified files: usr.sbin/eigrpd: interface.c Log message: Remove attached neighbors whenever an interface is disabled to speedup the convergence process.

CVS: cvs.openbsd.org: src

2015-10-09 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2015/10/09 23:06:00 Modified files: usr.sbin/eigrpctl: eigrpctl.c Log message: eigrpctl pledges to use stdio and route. ok deraadt

CVS: cvs.openbsd.org: src

2015-10-09 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2015/10/09 23:03:39 Modified files: usr.sbin/eigrpd: interface.c packet.c Log message: Fix detection of interface up/down events.

CVS: cvs.openbsd.org: src

2015-10-09 Thread Sebastian Benoit
CVSROOT:/cvs Module name:src Changes by: be...@cvs.openbsd.org 2015/10/09 18:37:40 Modified files: usr.sbin/relayctl: relayctl.c Log message: relayctl pledges to use stdio only ok reyk@ sure deraadt@

CVS: cvs.openbsd.org: src

2015-10-09 Thread Sebastian Benoit
CVSROOT:/cvs Module name:src Changes by: be...@cvs.openbsd.org 2015/10/09 18:19:52 Modified files: usr.sbin/ospf6ctl: ospf6ctl.c Log message: pledge("stdio route") needed here, because ipv6 ok deraadt@

CVS: cvs.openbsd.org: src

2015-10-09 Thread Sebastian Benoit
CVSROOT:/cvs Module name:src Changes by: be...@cvs.openbsd.org 2015/10/09 18:16:23 Modified files: usr.sbin/relayd: ca.c Log message: relayd's ca process pledges to only use stdio. ok deraadt@

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 18:10:08 Modified files: bin/ksh: Makefile c_sh.c main.c distrib/special/ksh: Makefile Log message: ksh can run with pledge "stdio rpath wpath cpath getpw fattr proc exec tty" if

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 17:55:03 Modified files: sys/kern : kern_pledge.c kern_sig.c Log message: Allow kill(self, sig) in pledge SELF also. the stack protector, abort(), and readpassphrase() in particular use thi

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 17:33:54 Modified files: usr.sbin/ospfctl: ospfctl.c Log message: can use pledge "stdio"; ok benno

CVS: cvs.openbsd.org: src

2015-10-09 Thread Tim van der Molen
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/09 15:59:34 Modified files: usr.bin/skey : skey.1 skey.c usr.bin/skeyinit: skeyinit.1 skeyinit.c Log message: Remove telnet warnings. Civilization has reached a point where they are no lon

CVS: cvs.openbsd.org: src

2015-10-09 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/09 15:24:05 Modified files: bin/ed : ed.h main.c re.c Log message: The variable errmsg can be static in main.c if code in re.c uses an own buffer to construct error messages. with input by a

CVS: cvs.openbsd.org: src

2015-10-09 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/09 14:27:28 Modified files: bin/ed : ed.h glbl.c io.c main.c re.c sub.c Log message: Define functions as static when they are not used outside their own c-files. ok millert@

CVS: cvs.openbsd.org: src

2015-10-09 Thread Tim van der Molen
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/09 14:24:37 Modified files: usr.bin/skey : skey.c Log message: Use __progname rather than argv[0]; OK millert@

CVS: cvs.openbsd.org: src

2015-10-09 Thread Tim van der Molen
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/09 14:14:35 Modified files: usr.bin/skey : skey.c Log message: Replace readpass(3) with readpassphrase(3). This was the only use of readpass(3) in base... OK millert@

CVS: cvs.openbsd.org: src

2015-10-09 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/10/09 13:49:08 Modified files: bin/ksh: lex.c lex.h Log message: Lexer states are not needed outside of lex.c. >From mksh via Michael McConville

CVS: cvs.openbsd.org: src

2015-10-09 Thread Todd C. Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2015/10/09 13:47:03 Modified files: bin/ed : buf.c ed.h glbl.c io.c main.c sub.c undo.c Log message: Mark static globals that are only used in their respective .c files. Also make stdin unbuffered si

CVS: cvs.openbsd.org: src

2015-10-09 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/09 13:36:27 Modified files: bin/ksh: c_ksh.c edit.c emacs.c history.c mail.c trap.c tree.c Log message: remove null check before afree. from Michael McConville

CVS: cvs.openbsd.org: src

2015-10-09 Thread Robert Peichaer
CVSROOT:/cvs Module name:src Changes by: r...@cvs.openbsd.org2015/10/09 12:30:54 Modified files: distrib/amd64/common: install.md Log message: Exit autoinstall in case of an invalid choice. OK krw@

CVS: cvs.openbsd.org: src

2015-10-09 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2015/10/09 11:51:09 Modified files: regress/usr.sbin/relayd: Makefile args-https.pl args-ssl.pl Log message: Keep relayd test certificate names in sync with syslogd.

CVS: cvs.openbsd.org: src

2015-10-09 Thread Gilles Chehade
CVSROOT:/cvs Module name:src Changes by: gil...@cvs.openbsd.org 2015/10/09 11:44:25 Modified files: usr.sbin/smtpd : smtpd.c Log message: upon smtpd restart, when scanning the offline queue, unlink 0-sized offline messages as they are left-overs from an errored enqueue.

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 11:18:20 Modified files: sys/kern : kern_pledge.c Log message: Have not come up with a great pattern for flock() yet. flock() is permitted by "getpw" because libc getpw*/getgr* use open() o

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 11:09:06 Modified files: libexec/comsat : comsat.c Log message: With nfs spool (fork + seteuid/setuid balony) support gone, it becomes possible to pledge "stdio rpath wpath tty proc" Noone uses th

CVS: cvs.openbsd.org: src

2015-10-09 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2015/10/09 11:07:06 Modified files: regress/usr.sbin/syslogd: Client.pm Makefile args-client-tcp.pl args-tls-cafile-default.pl funcs.pl Added files: regress/usr.sbin

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 11:07:21 Modified files: libexec/comsat : comsat.c Log message: remove NFS spool support; it stands in the way of pledge(2)

CVS: cvs.openbsd.org: src

2015-10-09 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2015/10/09 10:58:25 Modified files: usr.sbin/syslogd: evbuffer_tls.c evbuffer_tls.h privsep.c syslogd.8 syslogd.c syslogd.h Log message: If syslogd is started with -S, it accepts T

Re: CVS: cvs.openbsd.org: src

2015-10-09 Thread Sunil Nimmagadda
> CVSROOT: /cvs > Module name: src > Changes by: su...@cvs.openbsd.org 2015/10/09 10:47:14 > > Modified files: > usr.sbin/smtpd : mta_session.c > > Log message: > Convert fgetln(3) to getline(3). > > Ok eric@ todd@ gilles@ > Sorry, it was ok millert@

CVS: cvs.openbsd.org: src

2015-10-09 Thread Sunil Nimmagadda
CVSROOT:/cvs Module name:src Changes by: su...@cvs.openbsd.org 2015/10/09 10:47:14 Modified files: usr.sbin/smtpd : mta_session.c Log message: Convert fgetln(3) to getline(3). Ok eric@ todd@ gilles@

CVS: cvs.openbsd.org: src

2015-10-09 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2015/10/09 10:44:55 Modified files: usr.sbin/syslogd: syslogd.c Log message: A fork(2) is used in ttymsg() to delay the message to a tty if it blocks. Fix the potential syslogd's death, add "proc" to pledge

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 10:29:17 Modified files: usr.sbin/syslogd: syslogd.c Log message: catch up to tame() -> pledge() rename

CVS: cvs.openbsd.org: src

2015-10-09 Thread Ted Unangst
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2015/10/09 10:26:03 Modified files: bin/ksh: README Log message: pare down the readme so as to not imply we are tracking upstream. nor do we much care about running this on dec ultrix anymore, etc...

CVS: cvs.openbsd.org: src

2015-10-09 Thread Gilles Chehade
CVSROOT:/cvs Module name:src Changes by: gil...@cvs.openbsd.org 2015/10/09 09:09:09 Modified files: usr.sbin/smtpd : enqueue.c Log message: if an error occurs during offline enqueuing after we've dropped group, then attempt to ftruncate() the fp back to 0. suggested and

Re: CVS: cvs.openbsd.org: src

2015-10-09 Thread Gilles Chehade
On Fri, Oct 09, 2015 at 08:37:38AM -0600, Gilles Chehade wrote: > CVSROOT: /cvs > Module name: src > Changes by: gil...@cvs.openbsd.org 2015/10/09 08:37:38 > > Modified files: > usr.sbin/smtpd : enqueue.c queue_backend.c smtpctl.c >smtpd-defines.h smtpd.h >

CVS: cvs.openbsd.org: src

2015-10-09 Thread Gilles Chehade
CVSROOT:/cvs Module name:src Changes by: gil...@cvs.openbsd.org 2015/10/09 08:37:38 Modified files: usr.sbin/smtpd : enqueue.c queue_backend.c smtpctl.c smtpd-defines.h smtpd.h usr.sbin/smtpd/smtpctl: Makefile Log message: turn our loca

CVS: cvs.openbsd.org: src

2015-10-09 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2015/10/09 07:22:54 Modified files: sys/dev/pci: agp_i810.c Log message: Remove evil hack. I've never seen the printf fire, and xenocara no longer contains any code that can manipulate the affec

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 06:20:18 Modified files: libexec/tradcpp: main.c Log message: this cpp operates file using pledge "stdio rpath wpath cpath"

CVS: cvs.openbsd.org: src

2015-10-09 Thread Alexander Bluhm
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2015/10/09 06:07:33 Modified files: usr.sbin/syslogd: syslogd.c Log message: Tame syslogd privsep child with "stdio rpath unix inet recvfd". With and OK deraadt@

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 05:47:30 Modified files: sys/kern : kern_event.c Log message: oops, snuck into a syscalls sync; spotted by sthen

CVS: cvs.openbsd.org: src

2015-10-09 Thread Sebastien Marie
CVSROOT:/cvs Module name:src Changes by: sema...@cvs.openbsd.org 2015/10/09 05:42:54 Modified files: regress/sys/kern/pledge/generic: test_tty.c Log message: regress pledge add missing $OpenBSD$ header

CVS: cvs.openbsd.org: src

2015-10-09 Thread Sebastien Marie
CVSROOT:/cvs Module name:src Changes by: sema...@cvs.openbsd.org 2015/10/09 05:38:05 Modified files: regress/sys/kern/pledge/generic: Makefile main.c manager.c tests.out Added files: regress/sys/kern/pledge/generic: test_tt

CVS: cvs.openbsd.org: src

2015-10-09 Thread Sebastien Marie
CVSROOT:/cvs Module name:src Changes by: sema...@cvs.openbsd.org 2015/10/09 05:38:39 Modified files: regress/sys/kern/pledge/generic: Makefile Log message: regress pledge: remove 'regenerate' target

CVS: cvs.openbsd.org: src

2015-10-09 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2015/10/09 04:13:48 Modified files: usr.sbin/ypserv/yppush: yppush.8 Log message: correct Xr; from theo buehler

CVS: cvs.openbsd.org: src

2015-10-09 Thread Gilles Chehade
CVSROOT:/cvs Module name:src Changes by: gil...@cvs.openbsd.org 2015/10/09 03:56:28 Modified files: usr.sbin/smtpd : envelope.c Log message: if enhanced status class is not set, enhanced status code is never dumped in disk envelope.

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 01:54:28 Modified files: usr.sbin/ripctl: ripctl.c Log message: All commands seem to work fine with pledge "stdio" after the connect(), direct source and symbol table inspection suggests it is goo

CVS: cvs.openbsd.org: src

2015-10-09 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 01:39:56 Modified files: share/man/man4 : systrace.4 Log message: another tame(2), spotted by jmc

CVS: cvs.openbsd.org: src

2015-10-09 Thread Mark Lumsden
CVSROOT:/cvs Module name:src Changes by: l...@cvs.openbsd.org2015/10/09 01:27:56 Modified files: usr.bin/mg : window.c Log message: Fix line number bug when calling onlywind().

CVS: cvs.openbsd.org: src

2015-10-09 Thread Florian Obser
CVSROOT:/cvs Module name:src Changes by: flor...@cvs.openbsd.org 2015/10/09 01:13:45 Modified files: usr.bin/mg : theo.c Log message: pledge(2)ing our allegiance one commit at a time