CVS: cvs.openbsd.org: src

2015-12-05 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2015/12/05 23:15:05

Modified files:
usr.bin/cut: cut.1 

Log message:
Use ENVIRONMENT rather than CAVEATS to document LC_CTYPE.
Suggested by, feedback, and OK jmc@.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:09:11

Modified files:
sbin/dhclient  : dhclient.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2015/12/05 06:10:03

Modified files:
sys/arch/sparc64/dev: vnet.c 

Log message:
Avoid using ifq_deq_rollback().



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:11:48

Modified files:
usr.sbin/ldpctl: ldpctl.c 
usr.sbin/ldpd  : control.c lde.c ldpd.c ldpe.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:15:06

Modified files:
usr.sbin/ypldap: ldapclient.c ypldap.c ypldap_dns.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:11:18

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

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:14:41

Modified files:
usr.sbin/snmpctl: snmpctl.c 
usr.sbin/snmpd : control.c proc.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:11:01

Modified files:
usr.sbin/dvmrpctl: dvmrpctl.c 
usr.sbin/dvmrpd: control.c dvmrpd.c dvmrpe.c rde.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:19:32

Modified files:
usr.sbin/npppctl: npppctl.c 
usr.sbin/npppd/npppd: control.c privsep.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:18:09

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

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:17:05

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

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:19:13

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

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:18:24

Modified files:
usr.bin/tmux   : proc.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Henning Brauer
CVSROOT:/cvs
Module name:src
Changes by: henn...@cvs.openbsd.org 2015/12/05 07:58:06

Modified files:
sys/net: pf.c 

Log message:
pass a pointer to pf_test()'s reason to pf_test_rule instead of using a
local one. While we always intended to keep the logging in pf_test_rule
and pf_test so seperate that we don't end up with a wrong reason, this
is just too fragile and I can't even convince myself that it still is
right. pointed out by markus, ok bluhm benno



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:06:52

Modified files:
lib/libutil: imsg.c imsg_init.3 

Log message:
Do not loop on EAGAIN in imsg_read(). Better to return the error to the
caller and let him do another poll loop. This fixes spinning relayd
processes seen on busy TLS relays. OK benno@ henning@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:13:11

Modified files:
usr.sbin/relayctl: relayctl.c 
usr.sbin/relayd: ca.c control.c proc.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:13:47

Modified files:
usr.sbin/ripctl: ripctl.c 
usr.sbin/ripd  : control.c rde.c ripd.c ripe.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:14:21

Modified files:
usr.sbin/smtpd : ca.c enqueue.c mproc.c queue_proc.c 
 scheduler_proc.c smtpctl.c table_api.c 
 table_proc.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:09:46

Modified files:
sbin/iked  : control.c proc.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:15:27

Modified files:
usr.sbin/httpd : control.c proc.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:10:33

Modified files:
usr.sbin/bgpd  : control.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:12:16

Modified files:
usr.sbin/ntpd  : constraint.c control.c ntp.c ntp_dns.c ntpd.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 06:22:32

Modified files:
usr.sbin/radiusd: radiusd_bsdauth.c radiusd_module.c 

Log message:
EAGAIN handling for imsg_read. OK henning@ benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Vincent Gross
CVSROOT:/cvs
Module name:src
Changes by: vgr...@cvs.openbsd.org  2015/12/05 06:21:00

Modified files:
sys/netinet6   : in6_src.c 

Log message:
Remove useless "if() else", multicast and unicast v6 route lookups are
actually the same. This has been introduced in r1.7 to prevent RTM_MISS
storms, but we don't send this message anymore.

ok @mpi



CVS: cvs.openbsd.org: src

2015-12-05 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/05 06:37:43

Modified files:
games/hack : hack.ioctl.c 

Log message:
add missing #include "hack.h"



CVS: cvs.openbsd.org: src

2015-12-05 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2015/12/05 09:23:37

Modified files:
sys/dev/pci: if_bnx.c if_bnxreg.h 

Log message:
Make the bnx interrupt handler mpsafe, and perform rx and tx completion
outside the kernel lock.

Remove tx descriptor lists (essentially backing out if_bnx.c r1.77),
add an interrupt barrier in bnx_stop, check the rx ring state before receiving
packets, adjust the tx counter with atomic operations, and rework bnx_start
to check for ring space before dequeueing and drop the packet if bnx_encap
fails.

tested on BCM5708 by me and on BCM5709 by Hrvoje Popovski
ok dlg@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 10:30:34

Modified files:
usr.sbin/vmctl : main.c 
usr.sbin/vmd   : control.c proc.c 

Log message:
Another imsg_read user I did miss in my EAGAIN rampage.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2015/12/05 11:48:24

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

Log message:
Align columns to printed output in "vmctl status"



CVS: cvs.openbsd.org: src

2015-12-05 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 11:43:36

Modified files:
usr.sbin/npppd/common: bytebuf.c hash.c slist.c 
usr.sbin/npppd/l2tp: l2tp_ctrl.c l2tpd.c 
usr.sbin/npppd/npppd: ccp.c lcp.c mppe.c npppd_auth.c 
  npppd_ctl.c npppd_pool.c ppp.c privsep.c 
  radius_req.c 
usr.sbin/npppd/pptp: pptpd.c 

Log message:
strings.h -> string.h to prevent an implicit declaration. Also remove a
bunch of NULL-checks before free().



CVS: cvs.openbsd.org: www

2015-12-05 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:www
Changes by: m...@cvs.openbsd.org2015/12/05 11:43:56

Modified files:
faq: current.html 

Log message:
Document the merge of "multicast_host" and "multicast_router".



CVS: cvs.openbsd.org: src

2015-12-05 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 11:43:12

Modified files:
etc: netstart rc.conf 
etc/rc.d   : rc.subr 
share/man/man8 : netstart.8 

Log message:
It does not make sense to insert a specific route for 224/4 when the
default one is good enough.

So merge rc.conf(8)'s 'multicast_router' and 'multicast_host' into a
single 'multicast'.  If set to YES the reject route for 224/4 is not
inserted by netstart(8).

Manual bits from jmc@

ok henning@, ajacoutot@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 12:10:19

Modified files:
usr.sbin/ypldap: aldap.c ber.c 

Log message:
strings.h -> string.h to prevent an implicit declaration. Also removes
two NULL-checks before free().



CVS: cvs.openbsd.org: src

2015-12-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2015/12/05 12:04:37

Modified files:
sys/net: if.h 

Log message:
avoid an ugly wrap in a comment



CVS: cvs.openbsd.org: xenocara

2015-12-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:xenocara
Changes by: dera...@cvs.openbsd.org 2015/12/05 12:37:41

Modified files:
distrib/sets/lists/xbase: md.amd64 md.armish md.armv7 md.aviion 
  md.hppa md.i386 md.landisk md.luna88k 
  md.macppc md.socppc md.sparc 
  md.sparc64 md.zaurus 
distrib/sets/lists/xserv: md.amd64 md.armish md.armv7 md.hppa 
  md.i386 md.loongson md.luna88k 
  md.macppc md.sgi md.socppc md.sparc 
  md.sparc64 md.zaurus 

Log message:
sync



CVS: cvs.openbsd.org: src

2015-12-05 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2015/12/05 11:28:04

Modified files:
usr.sbin/bgpd  : carp.c control.c kroute.c mrt.c 

Log message:
cleanup some log messages with wrong function names etc.
ok henning,claudio



CVS: cvs.openbsd.org: src

2015-12-05 Thread Stefan Fritsch
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2015/12/05 12:36:19

Modified files:
share/man/man4 : virtio.4 

Log message:
document that virtio supports the 0.9.5 spec, not 1.0



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 08:49:01

Modified files:
usr.sbin/eigrpd: control.c eigrpd.c eigrpe.c rde.c 

Log message:
Forgot about eigrp when doing the imsg_read EAGAIN fixes.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 08:48:40

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

Log message:
Forgot about eigrp when doing the imsg_read EAGAIN fixes.



CVS: cvs.openbsd.org: src

2015-12-05 Thread YASUOKA Masahiko
CVSROOT:/cvs
Module name:src
Changes by: yasu...@cvs.openbsd.org 2015/12/05 09:09:09

Modified files:
sys/net: if_pppx.c if_tun.c pipex.h 

Log message:
Make pppx pass packets with npppd through the device.  This makes pppx work
without pipex.enable=1.  Also fix tun(4) not to pass the packets to pipex
when pipex.enable=0.

"go for it" dlg



CVS: cvs.openbsd.org: src

2015-12-05 Thread YASUOKA Masahiko
CVSROOT:/cvs
Module name:src
Changes by: yasu...@cvs.openbsd.org 2015/12/05 09:10:31

Modified files:
usr.sbin/npppd/l2tp: l2tp.h l2tp_call.c 
usr.sbin/npppd/npppd: npppd.c npppd.h npppd_iface.c 
  npppd_iface.h ppp.h 
usr.sbin/npppd/pppoe: pppoe.h pppoe_session.c 
usr.sbin/npppd/pptp: pptp_call.c 

Log message:
Pass the pppx_hdr when sending packets through the pppx device and use the
ppp_id in the pppx_hdr to find the associated ppp when receiving the packets
from the device.




CVS: cvs.openbsd.org: src

2015-12-05 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 09:24:59

Modified files:
sys/net: if_var.h 

Log message:
Keep kernel definitions under _KERNEL to unbreak ports that include
 because some other operating systems have defines in
there.

ok jasper@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 11:58:38

Removed files:
usr.sbin/tcpdump: CHANGES 

Log message:
Remove a log of changes from 1991 to 1998.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2015/12/05 12:21:49

Modified files:
sys/kern   : kern_pledge.c 

Log message:
Study of kernel code complete. Permit ioctl SIOCGIFMEDIA for pledge
"route", which krw and mestre will be able to use in dhclient(8).



CVS: cvs.openbsd.org: src

2015-12-05 Thread Stefan Fritsch
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2015/12/05 12:40:34

Modified files:
sys/dev/pci: virtio.c virtiovar.h 

Log message:
Make virtio_enqueue_commit return void

The return value was unused



CVS: cvs.openbsd.org: src

2015-12-05 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 12:40:45

Modified files:
bin/ksh: README 

Log message:
Remove some more pdksh-specific stuff and references to files that no
longer exist.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2015/12/05 10:27:00

Modified files:
distrib/sets/lists/base: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2015-12-05 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 09:26:54

Modified files:
sys/net80211   : ieee80211_crypto.h 

Log message:
Keep kernel definitions under _KERNEL to unbreak security/wpa_supplicant
because of a missing forward declaration for kernel functions.

ok stsp@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 09:26:45

Modified files:
usr.sbin/ldapd : ber.c 

Log message:
#include  not strings.h



CVS: cvs.openbsd.org: src

2015-12-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2015/12/05 11:31:17

Modified files:
usr.bin/make   : lowparse.c 

Log message:
yet another feof check, just to be sure.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 12:27:17

Modified files:
usr.sbin/tcpdump: pfctl_osfp.c privsep.c 

Log message:
Remove two sets of NULL-checks before free().



CVS: cvs.openbsd.org: src

2015-12-05 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/05 03:24:17

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

Log message:
pull the config file opening up considerably earlier to fail fast.
parsing is still done in the child, so we can't guarantee success, but if
the file is missing entirely we won't daemonize in that state.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Bret Lambert
CVSROOT:/cvs
Module name:src
Changes by: blamb...@cvs.openbsd.org2015/12/05 03:51:49

Modified files:
regress/sys/kern/kqueue: Makefile main.c 
Added files:
regress/sys/kern/kqueue: kqueue-timer.c 

Log message:
simplistic regress test for KEVENT_TIMER kqueue(2) calls

ok and prodding tedu@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/05 03:52:26

Modified files:
sys/netinet: ip_output.c tcp_input.c tcp_output.c 

Log message:
upgrade tcp/ip to use the latest in C89 technology: memcpy.
ok henning



CVS: cvs.openbsd.org: src

2015-12-05 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/05 04:51:23

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

Log message:
all the signal ignoring can be done in one place



CVS: cvs.openbsd.org: src

2015-12-05 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2015/12/05 05:20:13

Modified files:
usr.sbin/ospfd : interface.c kroute.c ospfd.c ospfd.h ospfe.c 
 parse.y rde.c 

Log message:
Pledge ospfd SE ("stdio inet mcast") and RDE ("stdio") move some code
around to make it possible. Parent can't be pledged at the moment because
of carp ioctl (carp demote). Putting it in so that people can test.
OK benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2015/12/05 03:27:48

Modified files:
sys/arch/amd64/amd64: identcpu.c 

Log message:
AMD Family 12h and later processors keep their APIC clock running in deeper
C-states.  Set the TMP_ARAT flag for these (which is Intel-specific) such
that acpicpu(4) enables the deeper C-states on these CPUs.

ok deraadt@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Bret Lambert
CVSROOT:/cvs
Module name:src
Changes by: blamb...@cvs.openbsd.org2015/12/05 03:59:03

Modified files:
usr.sbin/relayd: snmp.c 

Log message:
don't attempt to process AgentX packets when a short read is encountered

while here, remove a pair of duplicate function definitions

ok benno@



CVS: cvs.openbsd.org: src

2015-12-05 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2015/12/05 05:13:55

Modified files:
sys/dev/ic : rt2560.c 

Log message:
ifq_deq_rollback without a preceding ifq_deq_begin is fail.

caused by a badly managed merge.

found by and testing by sebastia@
ok mpi@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 14:15:01

Modified files:
usr.sbin/amd/amd: am_ops.c host_ops.c info_passwd.c map.c mapc.c 
  mntfs.c nfsx_ops.c restart.c sfs_ops.c 
  srvr_afs.c 

Log message:
Remove a bunch of NULL-checks before free().



CVS: cvs.openbsd.org: src

2015-12-05 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/12/05 14:35:46

Modified files:
share/man/man8 : rc.conf.8 

Log message:
multicast_{host,router} is now just multicast;



CVS: cvs.openbsd.org: src

2015-12-05 Thread Tobias Ulmer
CVSROOT:/cvs
Module name:src
Changes by: tobi...@cvs.openbsd.org 2015/12/05 14:51:10

Modified files:
gnu/usr.bin/binutils-2.17/gas/config: tc-arm.c 

Log message:
Implement the .inst assembler directive for arm.

Required for building gcc 4.9

ok jsg@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Igor Sobrado
CVSROOT:/cvs
Module name:src
Changes by: sobr...@cvs.openbsd.org 2015/12/05 15:34:31

Modified files:
usr.sbin/vmctl : main.c vmctl.8 

Log message:
use argument names consistently.

ok reyk@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2015/12/05 17:32:57

Modified files:
usr.sbin/vmd   : vmm.c 

Log message:
Terminate all running VMs on startup: we're not able to pick up state
of "zombie" VMs yet, they are not useful without the device layer, so
terminate them on vmd startup.

As discussed with mlarkin@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2015/12/05 17:54:49

Modified files:
distrib/sets/lists/base: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2015-12-05 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2015/12/05 18:16:58

Modified files:
sys/arch/amd64/amd64: cpu.c vmm.c 

Log message:
restore VMM mode after resume from suspend/hibernate



CVS: cvs.openbsd.org: src

2015-12-05 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2015/12/05 18:16:22

Modified files:
usr.sbin/vmd   : parse.y vmd.c 

Log message:
Check errno from config_getvm() correctly



CVS: cvs.openbsd.org: src

2015-12-05 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 16:27:35

Modified files:
usr.bin/unifdef: unifdef.1 

Log message:
Fix previous by using the right argument name.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2015/12/05 18:14:08

Modified files:
usr.sbin/vmd   : config.c 

Log message:
Report errno from config_getvm() correctly



CVS: cvs.openbsd.org: src

2015-12-05 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/05 03:11:53

Modified files:
sys/kern   : kern_acct.c kern_descrip.c kern_event.c 
 kern_exec.c kern_ktrace.c kern_resource.c 
 kern_sig.c kern_time.c kern_xxx.c spec_vnops.c 
 subr_log.c subr_prof.c subr_xxx.c sys_generic.c 
 sys_pipe.c sys_socket.c tty.c tty_pty.c 
 tty_tty.c uipc_socket.c uipc_syscalls.c 
 uipc_usrreq.c vfs_subr.c vfs_syscalls.c 

Log message:
remove stale lint annotations



CVS: cvs.openbsd.org: src

2015-12-05 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/05 03:07:55

Modified files:
sys/net: bpf.c if.c if_bridge.c if_gif.c if_loop.c 
 if_mpe.c if_mpw.c if_pair.c if_pflog.c 
 if_pfsync.c if_pppoe.c if_vether.c if_vlan.c 
 if_vxlan.c netisr.c ppp_tty.c raw_usrreq.c 
 route.c 

Log message:
remove old lint annotations



CVS: cvs.openbsd.org: src

2015-12-05 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2015/12/05 02:12:15

Modified files:
etc/mtree  : special 

Log message:
remove doas.conf since the permission check is too onerous.
the doas program itself will refuse to use an insecure config file.
(changelist will continue to watch for changes, as well.)



CVS: cvs.openbsd.org: src

2015-12-05 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:src
Changes by: jas...@cvs.openbsd.org  2015/12/05 02:55:18

Modified files:
etc: Makefile rc rc.conf 
Added files:
etc/rc.d   : vmd 

Log message:
add rcscript for vmd

ok mlarkin@
prompted by deraadt@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Henning Brauer
CVSROOT:/cvs
Module name:src
Changes by: henn...@cvs.openbsd.org 2015/12/05 13:32:53

Modified files:
libexec/spamd  : spamd.c 

Log message:
adjust to newer tls_read/_write semantics.
quite involved, due to tls_read potentially needing to write and tls_write
potentially needing to read (in the reneg case); that not fitting the spamd
model too well - it needs to keep a little more state.
help & ok bluhm & beck



CVS: cvs.openbsd.org: src

2015-12-05 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2015/12/05 13:33:51

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

Log message:
Print shorter error message if opening /dev/vmm failed.

Pointed out by deraadt@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2015/12/05 13:32:17

Modified files:
share/termtypes: termtypes.master 

Log message:
Update termtypes.master to upstream terminfo-20151128.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Markus Friedl
CVSROOT:/cvs
Module name:src
Changes by: mar...@cvs.openbsd.org  2015/12/05 13:53:21

Modified files:
usr.bin/ssh: myproposal.h 

Log message:
prefer rsa-sha2-512 over -256 for hostkeys, too; noticed by naddy@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2015/12/05 13:54:34

Modified files:
sys/kern   : kern_sysctl.c 

Log message:
Make sure we use the same cpu numbering for the kern.cptime2 sysctl as we
do for kern.proc.  Fixes the issue in top(1) where a cpu would seem to be idle
even though a thread was reported to be running on it.

ok mpi@, tedu@, deraadt@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Henning Brauer
CVSROOT:/cvs
Module name:src
Changes by: henn...@cvs.openbsd.org 2015/12/05 14:23:51

Modified files:
sys/net: pf.c 

Log message:
g/c unneeded af (address family) params to pf_change_ap and _icmp
both af and naf (af-to case) are in the pf_pdesc
some code shuffling to actually set these before calling pf_change_ap/_icmp
inspired by Richard Procter 's mail on tech
from Aug 17, but redone
ok bluhm vgross



CVS: cvs.openbsd.org: src

2015-12-05 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 14:27:42

Modified files:
usr.sbin/smtpd : forward.c iobuf.c mta_session.c smtpd.c ssl.c 

Log message:
Remove a few NULL-checks before free().



CVS: cvs.openbsd.org: src

2015-12-05 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 15:16:27

Modified files:
sys/net: if_etherip.c if_etherip.h 

Log message:
Multiple cleanups.

ok goda@, yasuoka@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2015/12/05 15:14:05

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

Log message:
Silence gcc whining about using 'serrno' uninitialized by initializing
it to 0.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2015/12/05 15:28:40

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

Log message:
Let special/ftp compile again. 'ares' is only used inside #ifndef SMALL, so
declare it inside #ifdef SMALL.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 13:28:13

Removed files:
usr.sbin/tcpdump: VERSION 

Log message:
Remove VERSION, whose contents were simply "3.4".



CVS: cvs.openbsd.org: src

2015-12-05 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2015/12/05 13:26:38

Modified files:
usr.sbin/vmctl : Makefile vmctl.c 

Log message:
Add OpenBSD Id



CVS: cvs.openbsd.org: src

2015-12-05 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2015/12/05 13:58:32

Modified files:
usr.sbin/relayd: relay.c 

Log message:
initialize host, to get rid of gcc warning, the conditions are correct.
ok henning@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 14:41:29

Modified files:
usr.sbin/tcpdump: README 

Log message:
Remove LBL-specific stuff and a reference to CHANGES.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 14:43:51

Modified files:
usr.sbin/tcpdump: INSTALL 

Log message:
Remove ancient and no longer valid installation instructions.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Stefan Fritsch
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2015/12/05 12:55:33

Modified files:
sys/dev/pci: vioblk.c 

Log message:
make vioblk_scsi_cmd more normal

Declare all variables at the start of the function and get rid of the
strangely-indented block around the second half of the function.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Stefan Fritsch
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2015/12/05 12:57:03

Modified files:
sys/dev/pci: vioblk.c 

Log message:
vioblk: Don't send flush ops if flush feature not present

If we haven't negotiated the flush feature, don't send
VIRTIO_BLK_T_FLUSH to the device.

noticed by mlarkin@



CVS: cvs.openbsd.org: src

2015-12-05 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2015/12/05 15:20:44

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

Log message:
Send bad whitespace to the attic.



Re: CVS: cvs.openbsd.org: src

2015-12-05 Thread Mike Larkin
On Sat, Dec 05, 2015 at 06:16:58PM -0700, Mike Larkin wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   mlar...@cvs.openbsd.org 2015/12/05 18:16:58
> 
> Modified files:
>   sys/arch/amd64/amd64: cpu.c vmm.c 
> 
> Log message:
> restore VMM mode after resume from suspend/hibernate
> 

thanks to deraadt here for pointing out a lame error in my
original version such that the end result was 4 lines long.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2015/12/05 19:26:14

Modified files:
usr.sbin/vmd   : vmd.c vmd.h vmm.c 
usr.sbin/vmctl : vmctl.c vmctl.h 

Log message:
Print the TTY in the vmctl status output.



CVS: cvs.openbsd.org: src

2015-12-05 Thread Michael McConville
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2015/12/05 19:41:23

Modified files:
sys/dev/ic : aic79xx.c 

Log message:
typo in log entry



CVS: cvs.openbsd.org: src

2015-12-05 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2015/12/05 20:14:55

Modified files:
sys/arch/amd64/amd64: cpu.c 

Log message:
unbreak kernel link if vmm isnt being built as part of the kernel.