CVS: cvs.openbsd.org: www

2015-03-15 Thread Andrew Fresh
CVSROOT:/cvs
Module name:www
Changes by: afre...@cvs.openbsd.org 2015/03/15 23:05:45

Modified files:
.  : events.html 

Log message:
I'll be talking about Perl in OpenBSD at YAPC::NA this year.



CVS: cvs.openbsd.org: www

2015-03-15 Thread Theo de Raadt
CVSROOT:/cvs
Module name:www
Changes by: dera...@cvs.openbsd.org 2015/03/15 22:59:20

Modified files:
.  : events.html 

Log message:
rotate to past



CVS: cvs.openbsd.org: src

2015-03-15 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/03/15 22:09:53

Modified files:
sys/dev/pci: if_wpi.c if_iwm.c 

Log message:
convert timeout_add() calls using hz to timeout_add_msec()



CVS: cvs.openbsd.org: src

2015-03-15 Thread YASUOKA Masahiko
CVSROOT:/cvs
Module name:src
Changes by: yasu...@cvs.openbsd.org 2015/03/15 20:40:56

Modified files:
sys/net: pf.c 

Log message:
When state creations happen in short term by outgoing packets of one
SO_BINDANY socket, the new state didn't have a link of the socket's
pcb.  So the incoming packets allowed by the state were mistakenly
forwarded and the pcb could not get them.  Fix pf not to lost the link
of the pcb when the state is recreated.

ok bluhm mikeb



CVS: cvs.openbsd.org: src

2015-03-15 Thread joshua stein
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/03/15 19:54:47

Modified files:
sys/dev/pckbc  : pckbd.c 

Log message:
Revert 1.39.  Resetting after specifically putting the keyboard in a
different table will most likely just revert the keyboard to its
default table anyway.

Instead, just flush the kbd slot before choosing a table and then
still forcefully enable the slot, which is enough to fix UKC on the
3rd gen X1 carbon while having a much smaller chance of breaking
anything else.

ok deraadt



CVS: cvs.openbsd.org: src

2015-03-15 Thread joshua stein
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/03/15 19:49:11

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

Log message:
Revert 1.44 since we have found some machines where the keyboard
stops working after our aux port resets, which were not broken
before.

ok deraadt



CVS: cvs.openbsd.org: src

2015-03-15 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2015/03/15 18:57:14

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

Log message:
sync



CVS: cvs.openbsd.org: src

2015-03-15 Thread James Turner
CVSROOT:/cvs
Module name:src
Changes by: jtur...@cvs.openbsd.org 2015/03/15 18:15:03

Modified files:
lib/libsqlite3 : Makefile 

Log message:
Fix typoe



CVS: cvs.openbsd.org: src

2015-03-15 Thread James Turner
CVSROOT:/cvs
Module name:src
Changes by: jtur...@cvs.openbsd.org 2015/03/15 18:12:38

Modified files:
lib/libsqlite3 : Makefile shlib_version sqlite3.pc 
lib/libsqlite3/src: sqlite3.h 
lib/libsqlite3/tsrc: pthread_stub.c 

Log message:
Bump major to 29, regen .pc and header with new version info



CVS: cvs.openbsd.org: src

2015-03-15 Thread James Turner
CVSROOT:/cvs
Module name:src
Changes by: jtur...@cvs.openbsd.org 2015/03/15 18:08:48

Log message:
Update sqlite3 to 3.8.7.4. Changes available here: 
http://sqlite.org/changes.html#version_3_8_7_4

ok landry@

Status:

Vendor Tag: sqlite3
Release Tags:   sqlite_3_8_7_4

C src/usr.bin/sqlite3/shell.c
U src/usr.bin/sqlite3/sqlite3.1

1 conflicts created by this import.
Use the following command to help the merge:

cvs checkout -jsqlite3:yesterday -jsqlite3 src/usr.bin/sqlite3



CVS: cvs.openbsd.org: src

2015-03-15 Thread James Turner
CVSROOT:/cvs
Module name:src
Changes by: jtur...@cvs.openbsd.org 2015/03/15 18:09:34

Modified files:
usr.bin/sqlite3: shell.c 

Log message:
Merge conflicts



CVS: cvs.openbsd.org: src

2015-03-15 Thread James Turner
CVSROOT:/cvs
Module name:src
Changes by: jtur...@cvs.openbsd.org 2015/03/15 18:08:23

Modified files:
lib/libsqlite3/src: loadext.c os_unix.c parse.y 

Log message:
Merge conflicts



CVS: cvs.openbsd.org: src

2015-03-15 Thread James Turner
CVSROOT:/cvs
Module name:src
Changes by: jtur...@cvs.openbsd.org 2015/03/15 18:06:54

Log message:
Update sqlite3 to 3.8.7.4. Changes available here: 
http://sqlite.org/changes.html#version_3_8_7_4

ok landry@

Status:

Vendor Tag: sqlite3
Release Tags:   sqlite_3_8_7_4

U src/lib/libsqlite3/sqlite3.pc.in
U src/lib/libsqlite3/VERSION
U src/lib/libsqlite3/addopcodes.awk
U src/lib/libsqlite3/mkopcodec.awk
U src/lib/libsqlite3/mkopcodeh.awk
U src/lib/libsqlite3/ext/README.txt
U src/lib/libsqlite3/ext/async/sqlite3async.c
U src/lib/libsqlite3/ext/async/README.txt
U src/lib/libsqlite3/ext/async/sqlite3async.h
U src/lib/libsqlite3/ext/fts1/fts1_porter.c
U src/lib/libsqlite3/ext/fts1/README.txt
U src/lib/libsqlite3/ext/fts1/ft_hash.c
U src/lib/libsqlite3/ext/fts1/ft_hash.h
U src/lib/libsqlite3/ext/fts1/fts1.c
U src/lib/libsqlite3/ext/fts1/fts1.h
U src/lib/libsqlite3/ext/fts1/fts1_hash.c
U src/lib/libsqlite3/ext/fts1/fts1_hash.h
U src/lib/libsqlite3/ext/fts1/fts1_tokenizer.h
U src/lib/libsqlite3/ext/fts1/fts1_tokenizer1.c
U src/lib/libsqlite3/ext/fts1/fulltext.c
U src/lib/libsqlite3/ext/fts1/fulltext.h
U src/lib/libsqlite3/ext/fts1/simple_tokenizer.c
U src/lib/libsqlite3/ext/fts1/tokenizer.h
U src/lib/libsqlite3/ext/fts2/README.tokenizers
U src/lib/libsqlite3/ext/fts2/README.txt
U src/lib/libsqlite3/ext/fts2/fts2.c
U src/lib/libsqlite3/ext/fts2/fts2.h
U src/lib/libsqlite3/ext/fts2/fts2_hash.c
U src/lib/libsqlite3/ext/fts2/fts2_hash.h
U src/lib/libsqlite3/ext/fts2/fts2_icu.c
U src/lib/libsqlite3/ext/fts2/fts2_porter.c
U src/lib/libsqlite3/ext/fts2/fts2_tokenizer.c
U src/lib/libsqlite3/ext/fts2/fts2_tokenizer.h
U src/lib/libsqlite3/ext/fts2/fts2_tokenizer1.c
U src/lib/libsqlite3/ext/fts2/mkfts2amal.tcl
U src/lib/libsqlite3/ext/fts3/README.tokenizers
U src/lib/libsqlite3/ext/fts3/README.content
U src/lib/libsqlite3/ext/fts3/README.syntax
U src/lib/libsqlite3/ext/fts3/fts3_porter.c
U src/lib/libsqlite3/ext/fts3/README.txt
U src/lib/libsqlite3/ext/fts3/fts3.c
U src/lib/libsqlite3/ext/fts3/fts3.h
U src/lib/libsqlite3/ext/fts3/fts3Int.h
U src/lib/libsqlite3/ext/fts3/fts3_aux.c
U src/lib/libsqlite3/ext/fts3/fts3_expr.c
U src/lib/libsqlite3/ext/fts3/fts3_hash.c
U src/lib/libsqlite3/ext/fts3/fts3_hash.h
U src/lib/libsqlite3/ext/fts3/fts3_icu.c
U src/lib/libsqlite3/ext/fts3/fts3_tokenize_vtab.c
U src/lib/libsqlite3/ext/fts3/fts3_snippet.c
U src/lib/libsqlite3/ext/fts3/fts3_term.c
U src/lib/libsqlite3/ext/fts3/fts3_test.c
U src/lib/libsqlite3/ext/fts3/fts3_tokenizer.c
U src/lib/libsqlite3/ext/fts3/fts3_tokenizer.h
U src/lib/libsqlite3/ext/fts3/fts3_tokenizer1.c
U src/lib/libsqlite3/ext/fts3/fts3_unicode.c
U src/lib/libsqlite3/ext/fts3/fts3_unicode2.c
U src/lib/libsqlite3/ext/fts3/fts3_write.c
U src/lib/libsqlite3/ext/fts3/fts3speed.tcl
U src/lib/libsqlite3/ext/fts3/mkfts3amal.tcl
U src/lib/libsqlite3/ext/fts3/tool/fts3view.c
U src/lib/libsqlite3/ext/fts3/unicode/CaseFolding.txt
U src/lib/libsqlite3/ext/fts3/unicode/UnicodeData.txt
U src/lib/libsqlite3/ext/fts3/unicode/mkunicode.tcl
U src/lib/libsqlite3/ext/icu/README.txt
U src/lib/libsqlite3/ext/icu/icu.c
U src/lib/libsqlite3/ext/icu/sqliteicu.h
U src/lib/libsqlite3/ext/misc/percentile.c
U src/lib/libsqlite3/ext/misc/amatch.c
U src/lib/libsqlite3/ext/misc/closure.c
U src/lib/libsqlite3/ext/misc/compress.c
U src/lib/libsqlite3/ext/misc/fileio.c
U src/lib/libsqlite3/ext/misc/fuzzer.c
U src/lib/libsqlite3/ext/misc/ieee754.c
U src/lib/libsqlite3/ext/misc/nextchar.c
U src/lib/libsqlite3/ext/misc/wholenumber.c
U src/lib/libsqlite3/ext/misc/regexp.c
U src/lib/libsqlite3/ext/misc/rot13.c
N src/lib/libsqlite3/ext/misc/showauth.c
U src/lib/libsqlite3/ext/misc/spellfix.c
U src/lib/libsqlite3/ext/misc/totype.c
U src/lib/libsqlite3/ext/misc/vfslog.c
U src/lib/libsqlite3/ext/misc/vtshim.c
U src/lib/libsqlite3/ext/rtree/rtree1.test
U src/lib/libsqlite3/ext/rtree/README
U src/lib/libsqlite3/ext/rtree/rtree.c
U src/lib/libsqlite3/ext/rtree/rtree.h
U src/lib/libsqlite3/ext/rtree/rtree_perf.tcl
U src/lib/libsqlite3/ext/rtree/rtree2.test
U src/lib/libsqlite3/ext/rtree/rtree3.test
U src/lib/libsqlite3/ext/rtree/rtree4.test
U src/lib/libsqlite3/ext/rtree/rtree5.test
U src/lib/libsqlite3/ext/rtree/rtree6.test
U src/lib/libsqlite3/ext/rtree/rtree7.test
U src/lib/libsqlite3/ext/rtree/rtree8.test
U src/lib/libsqlite3/ext/rtree/rtree9.test
U src/lib/libsqlite3/ext/rtree/rtreeA.test
U src/lib/libsqlite3/ext/rtree/rtreeB.test
U src/lib/libsqlite3/ext/rtree/rtreeC.test
U src/lib/libsqlite3/ext/rtree/rtreeD.test
U src/lib/libsqlite3/ext/rtree/rtreeE.test

CVS: cvs.openbsd.org: src

2015-03-15 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/03/15 17:09:10

Modified files:
bin/ksh: sh.1 

Log message:
from zhuk: two grammar fixes;



CVS: cvs.openbsd.org: src

2015-03-15 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/03/15 17:03:26

Modified files:
bin/ksh: sh.1 

Log message:
from zhuk: clarify "set --";



CVS: cvs.openbsd.org: src

2015-03-15 Thread Doug Hogan
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2015/03/15 16:52:17

Modified files:
lib/libssl/src/crypto/x509: x509_req.c 

Log message:
Avoid a NULL pointer deref when X509_get_pubkey() returns NULL.

A NULL pointer could be dereferenced when X509_REQ_set_pubkey() calls
X509_PUBKEY_set() with pktmp.

OpenSSL says it's the fix for CVE-2015-0288, but there aren't any public
details yet to confirm.  Either way, we should fix this.

Based on OpenSSL commit 28a00bcd8e318da18031b2ac8778c64147cd54f9
and BoringSSL commit 9d102ddbc0f6ed835ed12272a3d8a627d6a8e728.

"looks sane" beck@
ok miod@, bcook@



CVS: cvs.openbsd.org: src

2015-03-15 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2015/03/15 16:08:45

Modified files:
usr.sbin/httpd : httpd.h server.c 

Log message:
Prevent use after free.
While here unconditionally free clt and move declaration of
server_inflight_dec() into server.c
Found while investigating if (foo != NULL) free(foo) patterns pointed
out by Markus Elfring.
OK reyk



CVS: cvs.openbsd.org: src

2015-03-15 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2015/03/15 15:53:09

Modified files:
bin/pax: extern.h options.c 

Log message:
Define chdname once in a .c and make it extern in the .h



CVS: cvs.openbsd.org: www

2015-03-15 Thread Theo de Raadt
CVSROOT:/cvs
Module name:www
Changes by: dera...@cvs.openbsd.org 2015/03/15 14:48:56

Modified files:
.  : 57.html lyrics.html 
Added files:
images : 57song.jpg puffy57.gif 

Log message:
release the 5.7 song...



CVS: cvs.openbsd.org: src

2015-03-15 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2015/03/15 13:47:27

Modified files:
bin/pax: extern.h options.c tar.c 

Log message:
Handle tar -o by setting the tar_nodir directly instead of faking up a
pax-like -o write_opt=nodir.

ok millert@ otto@



CVS: cvs.openbsd.org: xenocara

2015-03-15 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2015/03/15 13:09:22

Modified files:
app/xdm: Makefile.bsd-wrapper 

Log message:
Repair protection of installed configuration files



CVS: cvs.openbsd.org: xenocara

2015-03-15 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2015/03/15 12:43:18

Modified files:
app/xdm/config : Xresources.cpp 

Log message:
No more reasons not to use the 8bpp XPM logo on !sparc



CVS: cvs.openbsd.org: xenocara

2015-03-15 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2015/03/15 12:39:48

Modified files:
app/xdm/config : Xresources.cpp 

Log message:
Drop #ifdef Hp300Architecture



CVS: cvs.openbsd.org: xenocara

2015-03-15 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2015/03/15 11:20:41

Modified files:
app/xdm/config : Xresources.cpp 
app/xdm/greeter: LoginP.h Login.c Login.h 

Log message:
Allow the greeter to set the input fields bg color
A new 'inpColor' resource is added for that.

Already commited upstream.



CVS: cvs.openbsd.org: xenocara

2015-03-15 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2015/03/15 11:05:12

Modified files:
app/xdm: Makefile.in aclocal.m4 config.guess config.h.in 
 config.sub configure depcomp install-sh missing 
app/xdm/app-defaults: Makefile.in 
app/xdm/chooser: Makefile.in 
app/xdm/config : Makefile.in 
app/xdm/greeter: Makefile.in 
app/xdm/include: Makefile.in 
app/xdm/man: Makefile.in 
app/xdm/xdm: Makefile.in 
app/xdm/xdmshell: Makefile.in 

Log message:
regen



CVS: cvs.openbsd.org: xenocara

2015-03-15 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2015/03/15 11:02:37

Modified files:
app/xdm: configure.ac 
app/xdm/xdm: Makefile.am 

Log message:
use LDADD to link the greeter library. Makes dependencies tracking work.



CVS: cvs.openbsd.org: src

2015-03-15 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2015/03/15 10:51:34

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

Log message:
Avoid off-by-one read access to the termacts array, which could
sometimes result in missing line breaks before subsection headers.
Found by carsten dot kunze at arcor dot de on SuSE 13.2.



CVS: cvs.openbsd.org: src

2015-03-15 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/03/15 09:54:35

Modified files:
bin/ksh: sh.1 

Log message:
from zhuk: remove ambiguity around the false/true description;



CVS: cvs.openbsd.org: src

2015-03-15 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2015/03/15 09:13:31

Modified files:
sys/kern   : subr_disk.c 

Log message:
Bring back '#include ', but inside #ifdev GPT. GPT
routines use crc32().

ok jsg@ doug@



CVS: cvs.openbsd.org: src

2015-03-15 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/03/15 08:33:21

Modified files:
bin/ksh: ksh.1 

Log message:
from zhuk: paths not beginning dot (as well as slash) use CDPATH;



CVS: cvs.openbsd.org: www

2015-03-15 Thread Stuart Henderson
CVSROOT:/cvs
Module name:www
Changes by: st...@cvs.openbsd.org   2015/03/15 06:44:24

Modified files:
.  : 57.html 

Log message:
rearrange package highlights into two columns and alpha sort
mention R, suggested by STeve Andre'



CVS: cvs.openbsd.org: src

2015-03-15 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/03/15 05:45:07

Modified files:
bin/ksh: sh.1 

Log message:
from zhuk: remove ambiguity in the description of "continue";



CVS: cvs.openbsd.org: src

2015-03-15 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2015/03/15 05:15:55

Modified files:
bin/ksh: sh.1 

Log message:
from zhuk: the dash part of "cd -" is not a flag, so don;t show it as such;
posix actually uses a separate synopsis to show this form, but i've chosen
to show it as a special form of "dir";



CVS: cvs.openbsd.org: www

2015-03-15 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:www
Changes by: pas...@cvs.openbsd.org  2015/03/15 01:34:56

Modified files:
.  : events.html 

Log message:
link my slides here too



CVS: cvs.openbsd.org: www

2015-03-15 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:www
Changes by: pas...@cvs.openbsd.org  2015/03/15 01:31:17

Modified files:
papers : index.html 
Added files:
papers : asiabsdcon2015-pie-paper.pdf 
 asiabsdcon2015-pie-slides.pdf 

Log message:
add my slides and paper, "Converting OpenBSD to PIE"



CVS: cvs.openbsd.org: src

2015-03-15 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2015/03/15 01:26:27

Modified files:
regress/lib/libc/strtol: strtoltest.c 

Log message:
fix for regression test for strtol().  it failed (the wrong kind of
fail), on 64-bit systems.

tested on 64-bit (amd64) and 32-bit (sparc).

OK claudio@ deraadt@