CVS: cvs.openbsd.org: src

2018-10-31 Thread Alexandr Nedvedicky
CVSROOT:/cvs
Module name:src
Changes by: sas...@cvs.openbsd.org  2018/10/31 18:18:45

Modified files:
sbin/iked  : parse.y 
sbin/ipsecctl  : parse.y 
sbin/pfctl : parse.y 
usr.sbin/acme-client: parse.y 
usr.sbin/bgpd  : parse.y 
usr.sbin/dvmrpd: parse.y 
usr.sbin/eigrpd: parse.y 
usr.sbin/hostapd: parse.y 
usr.sbin/httpd : parse.y 
usr.sbin/ifstated: parse.y 
usr.sbin/iscsictl: parse.y 
usr.sbin/ldapd : parse.y 
usr.sbin/ldomctl: parse.y 
usr.sbin/ldpd  : parse.y 
usr.sbin/lpd   : parse.y 
usr.sbin/npppd/npppd: parse.y 
usr.sbin/ntpd  : parse.y 
usr.sbin/ospf6d: parse.y 
usr.sbin/ospfd : parse.y 
usr.sbin/rad   : parse.y 
usr.sbin/radiusd: parse.y 
usr.sbin/relayd: parse.y 
usr.sbin/ripd  : parse.y 
usr.sbin/smtpd : parse.y 
usr.sbin/snmpd : parse.y 
usr.sbin/switchd: parse.y 
usr.sbin/vmd   : parse.y 
usr.sbin/ypldap: parse.y 

Log message:
- odd condition/test in PF lexer
(and other lexers too)

This commit rectifies earlier change:

in the lex... even inside quotes, a \ followed by space or tab should
expand to space or tab, and a \ followed by newline should be ignored
(as a line continuation).  compatible with the needs of hoststated
(which has the most strict quoted string requirements), and ifstated
(where one commonly does line continuations in strings).

OK deraadt@, OK millert@



CVS: cvs.openbsd.org: xenocara

2018-10-31 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2018/10/31 17:26:16

Modified files:
lib/mesa/src/mapi: entry_x86_tsd.h 

Log message:
Make similiar changes to the i386 tsd dispatch assembly as libglvnd to
avoid a text relocation fixing the build with lld.

ok kettenis@ naddy@



CVS: cvs.openbsd.org: src

2018-10-31 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2018/10/31 17:10:24

Modified files:
lib/libcxxabi  : shlib_version 

Log message:
Add comment to remind people to bump libc++.



CVS: cvs.openbsd.org: src

2018-10-31 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2018/10/31 13:59:37

Modified files:
regress/usr.sbin/rebound: Makefile 

Log message:
add missing echo call to cleanup target for consistency



CVS: cvs.openbsd.org: www

2018-10-31 Thread Claudio Jeker
CVSROOT:/cvs
Module name:www
Changes by: clau...@cvs.openbsd.org 2018/10/31 11:44:40

Modified files:
.  : events.html 
Added files:
papers : OpenBGPD_gotta_go_fast-SwiNOG34.pdf 

Log message:
SwiNOG#34 happened yesterday, move event to the past.



CVS: cvs.openbsd.org: www

2018-10-31 Thread Klemens Nanni
CVSROOT:/cvs
Module name:www
Changes by: k...@cvs.openbsd.org2018/10/31 11:20:48

Modified files:
faq: faq16.html 

Log message:
Remove unneeded vether(4) from bridging example

Prompted by a question on the internet, the following diff removes the
useless virtual ethernet interface from Option 4 where guests are bridged
directly into the host network.

vether(4) serves no purpose in this setup, the egress interface can/will
be used to communicate with guests.

As florian@ noted, this is probably a copy/pasta left-over from "Option 3".

OK ccardenas



CVS: cvs.openbsd.org: src

2018-10-31 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2018/10/31 11:05:54

Modified files:
lib/libc/gen   : timespec_get.3 

Log message:
typo; fix from hiltjo posthuma



CVS: cvs.openbsd.org: src

2018-10-31 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2018/10/31 10:45:24

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

Log message:
smtp_tx_mail_from() and smtp_tx_rcpt_to() should take a const char *line



CVS: cvs.openbsd.org: src

2018-10-31 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2018/10/31 10:40:35

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

Log message:
set a banner_sent flag in a session when banner was sent, this is noop as
of now but will reduce an upcoming diff



CVS: cvs.openbsd.org: src

2018-10-31 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2018/10/31 10:32:12

Modified files:
usr.sbin/smtpd : smtpd.h util.c 

Log message:
add helper valid_smtp_response() to be used in upcoming commits



CVS: cvs.openbsd.org: src

2018-10-31 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2018/10/31 09:46:20

Modified files:
sys/conf   : Tag: OPENBSD_6_4 newvers.sh 

Log message:
6.4-stable



CVS: cvs.openbsd.org: src

2018-10-31 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2018/10/31 09:14:21

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

Log message:
in rule_to_text(), use "tls" not "starttls"



CVS: cvs.openbsd.org: src

2018-10-31 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2018/10/31 09:13:21

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

Log message:
log tls events as "tls" not "starttls" it has confused people



CVS: cvs.openbsd.org: src

2018-10-31 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2018/10/31 08:58:59

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

Log message:
Remove extra ,
Noticed by denis@



CVS: cvs.openbsd.org: src

2018-10-31 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2018/10/31 08:51:12

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

Log message:
Show the number of references hold by struct rde_aspath objects (which should
be the same as the number of prefixes for now).
OK denis@



CVS: cvs.openbsd.org: src

2018-10-31 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2018/10/31 08:50:07

Modified files:
usr.sbin/bgpd  : bgpd.h rde.c rde.h rde_rib.c 

Log message:
Remove tail queues which link peer, aspath and prefix together. These
lists are no longer needed and make it possible to share rde_aspath between
peers & prefixes. Instead of the lists the rde_aspath is now reference counted.
With this struct prefix is now the central place where everything is connected
to making the RIB a bit easier to handle.
With input and OK denis@



CVS: cvs.openbsd.org: src

2018-10-31 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2018/10/31 08:45:36

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

Log message:
Never remove the default RIBs from the RDE.
OK denis@



CVS: cvs.openbsd.org: src

2018-10-31 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2018/10/31 08:18:10

Modified files:
sys/dev/usb: if_ure.c if_urereg.h 

Log message:
Increase max frame size and hard MTU so that we can use VLANs and
Jumbo frames on ure(4).

ok kevlo@



CVS: cvs.openbsd.org: src

2018-10-31 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2018/10/31 05:20:05

Modified files:
etc: moduli 
usr.bin/ssh/moduli-gen: moduli.2048 moduli.3072 moduli.4096 
moduli.6144 moduli.7680 moduli.8192 

Log message:
Import new moduli.



CVS: cvs.openbsd.org: src

2018-10-31 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2018/10/31 05:09:27

Modified files:
regress/usr.bin/ssh: cert-hostkey.sh cert-userkey.sh 
 multipubkey.sh principals-command.sh 

Log message:
UsePrivilegeSeparation no is deprecated, test "yes" and "sandbox".
rCVS: --



CVS: cvs.openbsd.org: src

2018-10-31 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2018/10/31 04:35:27

Modified files:
sys/dev/pci/drm: drm_trace.h 
sys/dev/pci/drm/i915: i915_trace.h i915_gem_execbuffer.c 

Log message:
add simple implementation of intel trace files which just define away
functions

ok kettenis@



CVS: cvs.openbsd.org: src

2018-10-31 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2018/10/31 04:15:47

Modified files:
sys/arch/loongson/conf: Makefile.loongson 
sys/arch/octeon/conf: Makefile.octeon 
sys/arch/sgi/conf: Makefile.sgi 

Log message:
Bring over gapdummy.c changes from amd64/amr64/armv7/i386.

ok deraadt@, mortimer@, visa@



CVS: cvs.openbsd.org: src

2018-10-31 Thread Michael Mikonos
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/10/31 04:06:54

Modified files:
lib/libsndio   : mio.c sio.c 

Log message:
remove a guard in mio_read(), mio_write, sio_read() & sio_write() for a
zero length request. return value of zero is preserved in this case.

OK ratchov@



CVS: cvs.openbsd.org: src

2018-10-31 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2018/10/31 04:05:47

Modified files:
usr.bin/tmux   : screen-write.c 

Log message:
Reset all flags in screen_write_reset, reported by Benjamin Poirier.



CVS: cvs.openbsd.org: src

2018-10-31 Thread Michael Mikonos
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/10/31 03:50:24

Modified files:
sys/dev/usb: umidi.c 

Log message:
zap return keyword to clarify umidi_flush() returns no value; ok ratchov@



CVS: cvs.openbsd.org: src

2018-10-31 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2018/10/31 02:50:26

Modified files:
sys/uvm: uvm.h uvm_extern.h uvm_fault.c uvm_map.c 
 uvm_pmap.h 
sys/dev/pci/drm: drm_linux.h 
sys/dev/pci/drm/i915: i915_dma.c i915_gem.c 

Log message:
Add support to uvm to establish write-combining mappings.  Use this in the
inteldrm driver to add support for the I915_MMAP_WC flag.

ok deraadt@, jsg@



CVS: cvs.openbsd.org: src

2018-10-31 Thread Ricardo Mestre
CVSROOT:/cvs
Module name:src
Changes by: mes...@cvs.openbsd.org  2018/10/31 01:39:10

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

Log message:
htpasswd(1) when in batch mode (-I) and 1 argument is used, or when not in
batch mode and 2 arguments are used we know we have to access argv[0] with rwc
permissions and also to rwc a temporary file in /tmp so we can unveil(2) both
argv[0] and /tmp with rwc permissions. In order to avoid adding "unveil" to
pledge(2), just call it after getopt(3).

Remaining code paths already have fs access disabled via pledge(2).

OK florian@ deraadt@



CVS: cvs.openbsd.org: src

2018-10-31 Thread Ricardo Mestre
CVSROOT:/cvs
Module name:src
Changes by: mes...@cvs.openbsd.org  2018/10/31 01:39:13

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

Log message:
ifstated(8) needs to load configfile from within the main loop, but also to
reload it on SIGHUP so unveil(2) it with read permissions. Additionally all
commands are exec'ed through /bin/sh instead of directly so we can just
unveil(2) /bin/sh with x perms.

OK deraadt@