CVS: cvs.openbsd.org: src

2017-01-30 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2017/01/31 00:44:55

Modified files:
sys/sys: proc.h 

Log message:
Protect  with #ifdef _KERNEL. This unbreaks userland
build on m88k, where the compiler has no notion of atomic built-ins.

Suggested by miod@
OK mpi@



CVS: cvs.openbsd.org: src

2017-01-30 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2017/01/30 22:53:08

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

Log message:
Use the sizeof operator on a struct not a pointer to one.
ok rzalamena@



CVS: cvs.openbsd.org: src

2017-01-30 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2017/01/30 22:40:26

Modified files:
lib/libcrypto/man: Makefile 
Added files:
lib/libcrypto/man: get_rfc3526_prime_8192.3 

Log message:
Document functions returning standard moduli for DH key exchange.
jsing@ confirmed that these are public and worth documenting.



CVS: cvs.openbsd.org: src

2017-01-30 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2017/01/30 16:27:39

Modified files:
usr.bin/ssh: sshd.8 

Log message:
Small correction to the known_hosts section on when it is updated.
Patch from lkppo at free.fr some time ago, pointed out by smallm at sdf.org



CVS: cvs.openbsd.org: src

2017-01-30 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2017/01/30 14:54:30

Modified files:
sys/dev/ic : rtwn.c rtwnvar.h 
sys/dev/usb: if_urtwn.c 

Log message:
Make urtwn(4) run slot time updates from a USB task.
Fixes 'usbd_do_request: not in process context' warnings introduced recently.
Fix reported and confirmed by Mikhail aka mp39590 aka misha



CVS: cvs.openbsd.org: xenocara

2017-01-30 Thread Tobias Stoeckmann
CVSROOT:/cvs
Module name:xenocara
Changes by: tob...@cvs.openbsd.org  2017/01/30 14:45:27

Modified files:
app/xenodm/xenodm: session.c 

Log message:
Reset SIGCHLD signal handler to previous value in error path, too.

ok matthieu@



CVS: cvs.openbsd.org: src

2017-01-30 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2017/01/30 14:41:17

Modified files:
usr.bin/tmux   : cmd-show-options.c format.c options.c tmux.h 

Log message:
When a flag option is used in a format, it should use the number form
not string.



CVS: cvs.openbsd.org: src

2017-01-30 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2017/01/30 14:18:24

Modified files:
regress/usr.sbin/httpd/tests: Httpd.pm Makefile 

Log message:
Fix TLS tests.  Keys and log files are now in obj, not in obj/htdocs



CVS: cvs.openbsd.org: src

2017-01-30 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2017/01/30 13:23:07

Modified files:
usr.bin/mandoc : man_html.c 

Log message:
Rework fill mode handling for -man -Thtml.

Basically, open  whenever printing text in no-fill mode and it is
not already open, and close it whenever printing something that cannot
be inside .

This fixes a crash reported by Michael 
in the French Linux chroot(2) manual and also improves rendering
for OpenBSD pages like DPMSGetTimeouts(3) and GLwDrawingArea(3).

These changes also permitted retiring struct mhtml.



CVS: cvs.openbsd.org: src

2017-01-30 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2017/01/30 11:25:11

Modified files:
regress/usr.sbin/httpd/tests: Makefile 

Log message:
Adjust CLEANFILES for new httpd root



CVS: cvs.openbsd.org: src

2017-01-30 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2017/01/30 11:21:13

Modified files:
sys/net80211   : ieee80211_output.c ieee80211_var.h 

Log message:
Enable ieee80211_edca_table, which was under #if 0. This table can be used
by drivers to pass default EDCA parameters to firmware instead of passing
local hardcoded values.
ok millert@



CVS: cvs.openbsd.org: src

2017-01-30 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2017/01/30 11:19:53

Modified files:
regress/usr.sbin/httpd/tests: Makefile 

Log message:
unbreak httpd regress tests after wobj change

Previously, the tests used the obj dir as the httpd chroot/root.  But
the www user cannot access any files since we switched obj to 0750.
The fix is to create another 0755 subdirectory obj/htdocs as the root.



CVS: cvs.openbsd.org: www

2017-01-30 Thread Theo Buehler
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2017/01/30 10:53:18

Modified files:
faq: current.html 

Log message:
smooth some rough edges



CVS: cvs.openbsd.org: src

2017-01-30 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2017/01/30 10:52:24

Modified files:
sys/net: pf.c 

Log message:
whitespace, from bluhm@



Re: CVS: cvs.openbsd.org: src

2017-01-30 Thread Sebastian Benoit
Sebastian Benoit(be...@openbsd.org) on 2017.01.30 10:41:34 -0700:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   be...@cvs.openbsd.org   2017/01/30 10:41:34
> 
> Modified files:
>   sys/net: pf.c pf_ioctl.c pf_norm.c pfvar.h 
> 
> Log message:
> removes the pf_consistency_lock and protects the users with
> NET_LOCK().  pfioctl() will need the NET_LOCK() anyway. So better keep
> things simple until we're going to redesign PF for a MP world.
> fixes the crash reported by Kaya Saman.
> ok mpi@, bluhm@

and florian@



CVS: cvs.openbsd.org: src

2017-01-30 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2017/01/30 10:48:26

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

Log message:
Make rtwn(4) and urtwn(4) tell the hardware about short preamble and
short slot time settings.
ok mpi@



CVS: cvs.openbsd.org: src

2017-01-30 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2017/01/30 10:41:34

Modified files:
sys/net: pf.c pf_ioctl.c pf_norm.c pfvar.h 

Log message:
removes the pf_consistency_lock and protects the users with
NET_LOCK().  pfioctl() will need the NET_LOCK() anyway. So better keep
things simple until we're going to redesign PF for a MP world.
fixes the crash reported by Kaya Saman.
ok mpi@, bluhm@



CVS: cvs.openbsd.org: www

2017-01-30 Thread Theo Buehler
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2017/01/30 10:32:41

Modified files:
faq: current.html 

Log message:
tweak previous: make the text a bit more concise, add some commas and begin
new sentences on new lines.



CVS: cvs.openbsd.org: src

2017-01-30 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2017/01/30 09:58:31

Modified files:
share/man/man5 : port-modules.5 

Log message:
Mention MODGO_LDFLAGS.



CVS: cvs.openbsd.org: www

2017-01-30 Thread Mike Belopuhov
CVSROOT:/cvs
Module name:www
Changes by: mi...@cvs.openbsd.org   2017/01/30 09:48:43

Modified files:
faq: current.html 

Log message:
Add a note regarding changes in DH group selection in iked

Issue reported by henning@, the current.html entry suggested by reyk@.



CVS: cvs.openbsd.org: src

2017-01-30 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2017/01/30 09:25:50

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

Log message:
Fix size passed to free(9)

ok tb@ stsp@



Re: CVS: cvs.openbsd.org: src

2017-01-30 Thread Stefan Sperling
On Mon, Jan 30, 2017 at 03:57:00AM -0700, Stefan Sperling wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   s...@cvs.openbsd.org2017/01/30 03:57:00
> 
> Modified files:
>   sys/dev/ic : ar5008.c 
> 
> Log message:
> Stop athn(4) 11n hostap from applying HT protection to non-11n clients.
> The driver was checking the wrong flag by mistake.
> ok phessler@ mpi@

and ok millert@



CVS: cvs.openbsd.org: src

2017-01-30 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2017/01/30 08:36:20

Modified files:
usr.sbin/syspatch: syspatch.sh 

Log message:
Drop empty line.



CVS: cvs.openbsd.org: src

2017-01-30 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2017/01/30 08:27:18

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

Log message:
sync



Re: CVS: cvs.openbsd.org: src

2017-01-30 Thread Stefan Sperling
On Mon, Jan 30, 2017 at 02:42:14AM -0700, Stefan Sperling wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   s...@cvs.openbsd.org2017/01/30 02:42:14
> 
> Modified files:
>   sys/dev/ic : ar5008.c ar9003.c 
> 
> Log message:
> Prevent athn(4) from using RTS for non-data frames.
> ok mpi@
> 

and ok sthen@



CVS: cvs.openbsd.org: src

2017-01-30 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2017/01/30 03:57:00

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

Log message:
Stop athn(4) 11n hostap from applying HT protection to non-11n clients.
The driver was checking the wrong flag by mistake.
ok phessler@ mpi@



CVS: cvs.openbsd.org: src

2017-01-30 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2017/01/30 02:54:41

Modified files:
usr.sbin/httpd : server_file.c 

Log message:
Fix error path of range requests, found while reviewing byte range support.

OK jsg@



CVS: cvs.openbsd.org: src

2017-01-30 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2017/01/30 02:42:14

Modified files:
sys/dev/ic : ar5008.c ar9003.c 

Log message:
Prevent athn(4) from using RTS for non-data frames.
ok mpi@