CVS: cvs.openbsd.org: src

2017-09-25 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2017/09/26 00:43:15

Modified files:
sys/dev/pci/drm: drm.h drm_mode.h 

Log message:
Use quoted #includes for files kdump's mkioctls indirectly includes so
mkioctls can find the files and not error out as drm headers are not
installed to /usr/include.  This results in more complete ioctl coverage
in kdump (not just for drm).

ok kettenis@



CVS: cvs.openbsd.org: www

2017-09-25 Thread Stefan Sperling
CVSROOT:/cvs
Module name:www
Changes by: s...@cvs.openbsd.org2017/09/26 00:37:07

Modified files:
.  : events.html 
Added files:
papers : eurobsdcon2017-device-drivers.pdf 

Log message:
add slides for my euobsdcon 2017 talk



CVS: cvs.openbsd.org: src

2017-09-25 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2017/09/25 19:46:47

Modified files:
sys/conf   : GENERIC 

Log message:
disable POOL_DEBUG for release
ok deraadt@



CVS: cvs.openbsd.org: src

2017-09-25 Thread Brent Cook
CVSROOT:/cvs
Module name:src
Changes by: bc...@cvs.openbsd.org   2017/09/25 18:55:13

Modified files:
lib/libcrypto  : opensslv.h 

Log message:
bump wo 2.6.2



CVS: cvs.openbsd.org: src

2017-09-25 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2017/09/25 17:00:33

Modified files:
lib/libc/sys   : sendsyslog.2 
sys/kern   : subr_log.c syscalls.master 
sys/sys: syscall.h syscallargs.h 

Log message:
sendsyslog should take a const char * everywhere.

okay bluhm@, deraadt@



CVS: cvs.openbsd.org: src

2017-09-25 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2017/09/25 13:13:56

Modified files:
usr.bin/calendar: io.c 

Log message:
Calling waitpid(pid,...) where pid is either uninitialized or
-1 because vflork() failed is bad. Initialize pid to -1 and call
waitpid() only when pid != -1.

Uninitialized use of pid found by clang.

Suggestion of -1 from millert@.

ok millert@



CVS: cvs.openbsd.org: src

2017-09-25 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:src
Changes by: jas...@cvs.openbsd.org  2017/09/25 12:47:53

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

Log message:
the Alea I works fine with urng(4) so update the manpage accordingly



CVS: cvs.openbsd.org: www

2017-09-25 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:www
Changes by: jas...@cvs.openbsd.org  2017/09/25 12:42:44

Modified files:
.  : donations.html 

Log message:
remove trailing whitespace and zap pointless href for my entry



CVS: cvs.openbsd.org: www

2017-09-25 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:www
Changes by: jas...@cvs.openbsd.org  2017/09/25 12:40:53

Modified files:
.  : donations.html 

Log message:
add Araneus who sent me two of their RNG devices, thanks!



CVS: cvs.openbsd.org: www

2017-09-25 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2017/09/25 12:31:42

Modified files:
faq: faq6.html 
faq/pf : example1.html 

Log message:
add instructions for configuring a wireless access point and clean up
some overly long explanations.



CVS: cvs.openbsd.org: src

2017-09-25 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2017/09/25 12:07:03

Modified files:
lib/libtls : tls_config.c 

Log message:
If tls_config_parse_protocols() is called with a NULL pointer, return the
default protocols instead of crashing - this makes the behaviour more
useful and mirrors what we already do in tls_config_set_ciphers() et al.



CVS: cvs.openbsd.org: src

2017-09-25 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2017/09/25 12:04:08

Modified files:
lib/libssl : s3_lib.c 

Log message:
Annotate some API-side memory leaks for future resolution.



CVS: cvs.openbsd.org: src

2017-09-25 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2017/09/25 12:02:27

Modified files:
lib/libssl : ssl_tlsext.c 

Log message:
Fix various issues in the OCSP extension parsing code:

- When parsing the OCSP extension we can have multiple responder IDs - pull
these out correctly.

- Stop using CBS_stow() - it's unnecessary since we just need access to the
data and length (which we can get via CBS_data() and CBS_len()).

- Use a temporary pointer when calling d2i_*() functions, since it will
increment the pointer by the number of bytes it consumed when decoding.

The original code incorrectly passes the pointer allocated via CBS_stow()
(using malloc()) to a d2i_*() function and then calls free() on the now
incremented pointer, most likely resulting in a crash. This issue was
reported by Robert Swiecki who found the issue using honggfuzz.

ok beck@



CVS: cvs.openbsd.org: src

2017-09-25 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2017/09/25 11:51:49

Modified files:
lib/libssl : ssl_tlsext.c 

Log message:
When building the OCSP extension, only add the length prefixed extensions
after we finish building the responder ID list. Otherwise adding to the
responder ID list fails.

ok beck@



CVS: cvs.openbsd.org: src

2017-09-25 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2017/09/25 11:36:35

Modified files:
usr.bin/awk: lib.c proto.h 

Log message:
Mark FATAL() as __dead so clang doesn't report
use of uninitialized variables after calls to
FATAL().

ok millert@ guenther@



CVS: cvs.openbsd.org: src

2017-09-25 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2017/09/25 11:10:55

Modified files:
usr.sbin/mtree : extern.h misc.c 

Log message:
Mark error() as __dead so clang doesn't report
use of uninitialized variables after calls to
error().

ok millert@ guenther@



CVS: cvs.openbsd.org: src

2017-09-25 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2017/09/25 10:22:40

Modified files:
regress/usr.sbin/pkg_add: signatures.ref 

Log message:
keep up with @version, noticed by bluhm@



CVS: cvs.openbsd.org: www

2017-09-25 Thread Landry Breuil
CVSROOT:/cvs
Module name:www
Changes by: lan...@cvs.openbsd.org  2017/09/25 10:04:49

Modified files:
.  : events.html 
Added files:
papers : 
 eurobsdcon2017_seven_years_of_maintaining_firefox.md 

Log message:
Add my eurobsdcon slides.

Use textproc/mdp to display the markdown formatting in a terminal..



CVS: cvs.openbsd.org: www

2017-09-25 Thread Marc Espie
CVSROOT:/cvs
Module name:www
Changes by: es...@cvs.openbsd.org   2017/09/25 09:55:51

Modified files:
.  : events.html 

Log message:
fix my link sorry



CVS: cvs.openbsd.org: xenocara

2017-09-25 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2017/09/25 09:05:57

Modified files:
xserver/hw/xfree86/common: xf86pciBus.c 

Log message:
Force Intel Ironlake chipsets to use the xf86-video-intel driver.
stsp@ reported that modesetting(4) has been reported unreliable
on his laptop, while intel(4) works.

 to be removed after 6.2 to figure out and fix the issue.

ok kettenis@, also discussed briefly with deraadt@ during EuroBSDCon.



CVS: cvs.openbsd.org: www

2017-09-25 Thread Marc Espie
CVSROOT:/cvs
Module name:www
Changes by: es...@cvs.openbsd.org   2017/09/25 08:30:01

Modified files:
.  : events.html 
Added files:
papers : eurobsd2017-pkgtools.pdf 

Log message:
add my slides



CVS: cvs.openbsd.org: www

2017-09-25 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:www
Changes by: ajacou...@cvs.openbsd.org   2017/09/25 07:18:09

Modified files:
.  : events.html 

Log message:
Add my EuroBSDcon 2017 full paper and slides.



CVS: cvs.openbsd.org: src

2017-09-25 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2017/09/25 05:04:54

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

Log message:
Initialize 'out' file descriptor to avoid possible
uninitialized use. Spotted by clang during 'make
release', triggered when both NOSSL and SMALL are
defined.

ok bluhm@ deraadt@



CVS: cvs.openbsd.org: src

2017-09-25 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2017/09/25 04:47:46

Modified files:
distrib/notes/alpha: contents 
distrib/notes/amd64: contents 
distrib/notes/arm64: contents 
distrib/notes/armv7: contents 
distrib/notes/hppa: contents 
distrib/notes/i386: contents 
distrib/notes/landisk: contents 
distrib/notes/loongson: contents 
distrib/notes/luna88k: contents 
distrib/notes/macppc: contents 
distrib/notes/octeon: contents 
distrib/notes/sgi: contents 
distrib/notes/sparc64: contents 

Log message:
update set sizes



CVS: cvs.openbsd.org: www

2017-09-25 Thread Theo de Raadt
CVSROOT:/cvs
Module name:www
Changes by: dera...@cvs.openbsd.org 2017/09/25 01:39:32

Modified files:
.  : events.html 

Log message:
past



CVS: cvs.openbsd.org: www

2017-09-25 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:www
Changes by: bl...@cvs.openbsd.org   2017/09/25 01:03:01

Modified files:
.  : events.html 
Added files:
papers : eurobsdcon2017-syslog-slides.pdf 

Log message:
Add my slides at EuroBSDcon 2017 in Paris.