CVS: cvs.openbsd.org: src

2018-07-18 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:src
Changes by: na...@cvs.openbsd.org   2018/07/18 14:21:12

Modified files:
lib/libm   : Makefile 
Removed files:
lib/libm/noieee_src: mathimpl.h n_acosh.c n_asincos.c n_asinh.c 
 n_atan.c n_atan2.c n_atanh.c n_cbrt.c 
 n_cosh.c n_erf.c n_exp.c n_exp__E.c 
 n_expm1.c n_floor.c n_fmod.c n_hypot.c 
 n_j0.c n_j1.c n_jn.c n_lgamma.c n_log.c 
 n_log10.c n_log1p.c n_log__L.c n_lrint.c 
 n_nan.c n_pow.c n_sincos.c n_sinh.c 
 n_support.c n_tan.c n_tanh.c n_tgamma.c 

Log message:
Remove the unused leftovers of the 4.4BSD libm, which was only used
on non-IEEE platforms.  Since the VAX port was discontinued, all
our remaining architectures use IEEE floating point, as will any
future ones.
ok millert@ tb@



CVS: cvs.openbsd.org: src

2018-07-18 Thread Todd C . Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2018/07/18 11:20:54

Modified files:
usr.bin/join   : join.c 

Log message:
Convert from fgetln(3) to getline(3).  Based on a diff from Lauri Tirkkonen.
With a tweak and OK from schwarze@



CVS: cvs.openbsd.org: src

2018-07-18 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2018/07/18 10:55:17

Modified files:
sys/kern   : kern_sig.c 
sys/sys: signalvar.h 

Log message:
Revert the change that delivers process signals to any threads.  As
side effect pending signals specifically sent to the main thread
were handled by other threads.  This made gcj in textproc/pdftk
port build stall.
Noticed and tested by espie@.



CVS: cvs.openbsd.org: src

2018-07-18 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2018/07/18 10:24:16

Modified files:
regress/lib/libcrypto/ocsp: ocsp_test.c 

Log message:
Bob's license was missing, add it.

ok beck



CVS: cvs.openbsd.org: src

2018-07-18 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2018/07/18 09:46:49

Modified files:
sbin/ping  : ping.c 

Log message:
replace manual zero initialization of various fields with memset;
makes the code shorter and easier to read.
suggested by & OK claudio



CVS: cvs.openbsd.org: src

2018-07-18 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2018/07/18 08:43:34

Modified files:
usr.sbin/rad   : rad.c 

Log message:
Stop our own router advertisements from looping back to us.
Pointed out by semarie@



CVS: cvs.openbsd.org: src

2018-07-18 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/07/18 08:06:30

Modified files:
lib/libc/sys   : unveil.2 

Log message:
tidy up the flags section a little: supply a little more indent, and reduce
the amount of modal verbs going on;



CVS: cvs.openbsd.org: src

2018-07-18 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2018/07/18 07:55:39

Modified files:
sbin/ping  : ping.c 

Log message:
When running flood ping with count packets (-c) set an alarm after
sending all packets otherwise ping will wait forever to see all
answers - which might not arrive on lossy links.

Problem pointed out by, input & OK claudio



CVS: cvs.openbsd.org: src

2018-07-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/07/18 07:06:23

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

Log message:
make the logic for deleting first slightly more obvious
in particular, there's nothing to try if we don't have older packages



CVS: cvs.openbsd.org: src

2018-07-18 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2018/07/18 05:34:05

Modified files:
usr.bin/ssh: Makefile.inc misc.c readconf.c readpass.c ssh.c 
 sshconnect.c sshconnect.h sshconnect2.c 
 uidswap.c uidswap.h 
usr.bin/ssh/ssh-keysign: Makefile 
usr.bin/ssh/sshd: Makefile 

Log message:
Remove support for running ssh(1) setuid and fatal if attempted.
Do not link uidwap.c into ssh any more.  Neuters UsePrivilegedPort,
which will be marked as deprecated shortly. ok markus@ djm@



CVS: cvs.openbsd.org: src

2018-07-18 Thread Helg Bredow
CVSROOT:/cvs
Module name:src
Changes by: h...@cvs.openbsd.org2018/07/18 04:47:02

Modified files:
sys/miscfs/fuse: fuse_vnops.c 

Log message:
Replace VATTR_NULL() with memset(3) in fusefs_getattr(). VATTR_NULL()
sets all members of struct vattr to VNOVAL (-1) instead of 0, which is
what is appropriate here. The VATTR_NULL() macro is intended for
initialising struct vattr when setting attributes.

ok mpi@



CVS: cvs.openbsd.org: src

2018-07-18 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2018/07/18 03:10:50

Modified files:
usr.sbin/rad   : frontend.c 

Log message:
Don't log_warn on normal conditions, it should be log_debug.
Pointed out by semarie@