CVS: cvs.openbsd.org: www

2016-06-23 Thread Joerg Jung
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2016/06/23 14:44:10

Modified files:
opensmtpd/faq  : example1.html 

Log message:
add warning about filters being experimental

ok gilles



CVS: cvs.openbsd.org: src

2016-06-23 Thread Stefan Kempf
CVSROOT:/cvs
Module name:src
Changes by: ste...@cvs.openbsd.org  2016/06/23 12:41:44

Modified files:
sys/kern   : kern_timeout.c 

Log message:
Avoid multiple evaluation of macro arguments in softclock()

ok mikeb@ tedu@



CVS: cvs.openbsd.org: www

2016-06-23 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2016/06/23 10:26:51

Modified files:
.  : want.html 

Log message:
SPF -> SFP



CVS: cvs.openbsd.org: src

2016-06-23 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2016/06/23 10:11:23

Modified files:
usr.sbin/pkg_add/OpenBSD: AddCreateDelete.pm ProgressMeter.pm 
  State.pm 
usr.sbin/pkg_add/OpenBSD/ProgressMeter: Term.pm 

Log message:
there's no reason for window size computation to be linked to the
ProgressMeter, so make it available from state.
- computation is lazy, so no runtime difference;
- don't bother setting a SIG{WINCH} on non-tty;
- progressmeter already has access to state;
- do an empty window_size_changed in base state, override it for
addcreatedelete to inform the progressmeter.

to be reused in dpb...



CVS: cvs.openbsd.org: src

2016-06-23 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2016/06/23 09:41:42

Modified files:
sys/kern   : subr_log.c 

Log message:
As klog dropped message has no ifdef small kernel, sendsyslog
should not have it either.  While there bring some variables in
sync between both functions.
OK deraadt@



CVS: cvs.openbsd.org: src

2016-06-23 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2016/06/23 07:15:21

Modified files:
sys/kern   : subr_log.c 
sys/sys: msgbuf.h 

Log message:
It is annoying that the dmesg buffer can overflow and loose messages
undetected during debugging.  To make clear what happens, count the
dropped bytes and write message buffer full to syslogd.  This also
helps to have a reliable log system.
OK deraadt@ millert@ tedu@



CVS: cvs.openbsd.org: src

2016-06-23 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2016/06/23 06:44:10

Modified files:
usr.sbin/pkg_add/OpenBSD: State.pm 

Log message:
add fh variation of printing code. Systematically use it with STDOUT/STDERR
for classical functions.



CVS: cvs.openbsd.org: src

2016-06-23 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2016/06/23 06:02:19

Modified files:
gnu/usr.bin/binutils-2.17/bfd: elfxx-sparc.c 

Log message:
Use SYMBOL_CALLS_LOCAL() to determine whether we can drop relocations for a
symbol such that hidden symbols get handled properly.  Gets rid of the
spurious DT_TEXTREL entries seen with (typically) C++ code.

ok deraadt@, guenther@



CVS: cvs.openbsd.org: src

2016-06-23 Thread Eric Faurot
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2016/06/23 05:56:19

Modified files:
usr.sbin/smtpd : smtp_session.c 

Log message:
move transaction-specific states from struct smtp_session to struct smtp_tx

ok gilles@



CVS: cvs.openbsd.org: src

2016-06-23 Thread Henning Brauer
CVSROOT:/cvs
Module name:src
Changes by: henn...@cvs.openbsd.org 2016/06/23 03:08:56

Modified files:
sys/netinet: ip_output.c 

Log message:
when pf_test returns something but PF_PASS, set error to EACCES
instead of EHOSTUNREACH. On the latter, ip_forward can generate undesired
icmp errors - either pf generates those itself (block return), or there
shouldn't be any.
Bizarrely enough, ip_forward has EACCES handling with a comment specifically
pointing to packets blocked by pf, but the code in ip_output used EHOSTUNREACH
from day #1 on.
found & analyzed by Kristof Provost , discussed at BSDcan
ok mpi millert