CVS commit: src/libexec/httpd

2013-10-12 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Sat Oct 12 07:49:40 UTC 2013

Modified Files:
src/libexec/httpd: Makefile bozohttpd.c bozohttpd.h

Log Message:
remove trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/libexec/httpd/Makefile
cvs rdiff -u -r1.41 -r1.42 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.28 -r1.29 src/libexec/httpd/bozohttpd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/comp

2013-10-12 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat Oct 12 07:51:54 UTC 2013

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
llib-lctf.ln is dtrace specific.


To generate a diff of this commit:
cvs rdiff -u -r1.1840 -r1.1841 src/distrib/sets/lists/comp/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/net/net

2013-10-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 12 15:29:16 UTC 2013

Modified Files:
src/tests/net/net: Makefile
Added Files:
src/tests/net/net: t_tcp.c

Log Message:
new test to check if non-blocking sockets are reset to blocking on the
accepted file descriptor.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/net/net/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/net/net/t_tcp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists

2013-10-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 12 15:30:37 UTC 2013

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi

Log Message:
add new t_tcp test


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.545 -r1.546 src/distrib/sets/lists/tests/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2013-10-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 12 16:42:27 UTC 2013

Modified Files:
src/sys/kern: subr_lockdebug.c

Log Message:
provide a better printf for the panic message


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/kern/subr_lockdebug.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2013-10-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 12 16:49:01 UTC 2013

Modified Files:
src/sys/dev/ata: ata.c
src/sys/dev/cardbus: cardslot.c
src/sys/dev/ieee1394: firewire.c
src/sys/dev/pcmcia: wdc_pcmcia.c
src/sys/dev/scsipi: scsiconf.c
src/sys/dev/sdmmc: ld_sdmmc.c sdmmc.c
src/sys/dev/usb: usb.c
src/sys/kern: subr_autoconf.c
src/sys/sys: device.h

Log Message:
Pass the device name in, so we can debug what deferred drivers did not work.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/dev/ata/ata.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/cardbus/cardslot.c
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/ieee1394/firewire.c
cvs rdiff -u -r1.123 -r1.124 src/sys/dev/pcmcia/wdc_pcmcia.c
cvs rdiff -u -r1.270 -r1.271 src/sys/dev/scsipi/scsiconf.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/sdmmc/ld_sdmmc.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/sdmmc/sdmmc.c
cvs rdiff -u -r1.144 -r1.145 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.227 -r1.228 src/sys/kern/subr_autoconf.c
cvs rdiff -u -r1.143 -r1.144 src/sys/sys/device.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2013-10-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 12 16:52:21 UTC 2013

Modified Files:
src/sys/dev/ic: ciss.c cissreg.h cissvar.h

Log Message:
- add 64 bit fifo support
- handle fibrilation better


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/ic/ciss.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/cissreg.h
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/cissvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/httpd

2013-10-12 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Sat Oct 12 17:24:07 UTC 2013

Modified Files:
src/libexec/httpd: Makefile bozohttpd.8 bozohttpd.c bozohttpd.h main.c
Added Files:
src/libexec/httpd: lua-bozo.c printenv.lua

Log Message:
add Lua scripting support to bozohttpd, see httpd(8) for details


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/libexec/httpd/Makefile
cvs rdiff -u -r1.38 -r1.39 src/libexec/httpd/bozohttpd.8
cvs rdiff -u -r1.42 -r1.43 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.29 -r1.30 src/libexec/httpd/bozohttpd.h
cvs rdiff -u -r0 -r1.1 src/libexec/httpd/lua-bozo.c \
src/libexec/httpd/printenv.lua
cvs rdiff -u -r1.5 -r1.6 src/libexec/httpd/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/httpd

2013-10-12 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Sat Oct 12 17:25:18 UTC 2013

Modified Files:
src/libexec/httpd: bozohttpd.8

Log Message:
it's Lua, not lua


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/libexec/httpd/bozohttpd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/net/net

2013-10-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 12 17:26:32 UTC 2013

Modified Files:
src/tests/net/net: t_tcp.c

Log Message:
more tests


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/net/net/t_tcp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/httpd

2013-10-12 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Sat Oct 12 18:46:12 UTC 2013

Modified Files:
src/libexec/httpd: auth-bozo.c bozohttpd.c cgi-bozo.c dir-index-bozo.c

Log Message:
no need to check free() arguments against NULL


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/libexec/httpd/auth-bozo.c
cvs rdiff -u -r1.43 -r1.44 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.22 -r1.23 src/libexec/httpd/cgi-bozo.c
cvs rdiff -u -r1.17 -r1.18 src/libexec/httpd/dir-index-bozo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6-0] src

2013-10-12 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Sat Oct 12 18:53:18 UTC 2013

Modified Files:
src/doc [netbsd-6-0]: README.files
src/gnu/usr.bin/groff/tmac [netbsd-6-0]: mdoc.local
src/sys/sys [netbsd-6-0]: param.h
Added Files:
src/doc [netbsd-6-0]: CHANGES-6.0.4

Log Message:
Welcome to 6.0.3_PATCH.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/doc/CHANGES-6.0.4
cvs rdiff -u -r1.4.20.1.2.3 -r1.4.20.1.2.4 src/doc/README.files
cvs rdiff -u -r1.66.2.1.4.3 -r1.66.2.1.4.4 \
src/gnu/usr.bin/groff/tmac/mdoc.local
cvs rdiff -u -r1.408.2.6.2.6 -r1.408.2.6.2.7 src/sys/sys/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6-1] src

2013-10-12 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Sat Oct 12 18:53:47 UTC 2013

Modified Files:
src/doc [netbsd-6-1]: README.files
src/gnu/usr.bin/groff/tmac [netbsd-6-1]: mdoc.local
src/sys/sys [netbsd-6-1]: param.h
Added Files:
src/doc [netbsd-6-1]: CHANGES-6.1.3

Log Message:
Welcome to 6.1.2_PATCH.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/doc/CHANGES-6.1.3
cvs rdiff -u -r1.4.20.2.2.3 -r1.4.20.2.2.4 src/doc/README.files
cvs rdiff -u -r1.66.2.2.2.2 -r1.66.2.2.2.3 \
src/gnu/usr.bin/groff/tmac/mdoc.local
cvs rdiff -u -r1.408.2.12.2.4 -r1.408.2.12.2.5 src/sys/sys/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-10-12 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Oct 12 18:55:40 UTC 2013

Modified Files:
src/usr.sbin/ldpd: mpls_routes.c

Log Message:
zeroize the rest of the comparable struct before adding it to the rb tree


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/ldpd/mpls_routes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6-1] xsrc

2013-10-12 Thread Julian Coleman
Module Name:xsrc
Committed By:   jdc
Date:   Sat Oct 12 18:59:02 UTC 2013

Modified Files:
xsrc/external/mit/xorg-server/dist/dix [netbsd-6-1]: dixfonts.c
xsrc/xfree/xc/programs/Xserver/dix [netbsd-6-1]: dixfonts.c

Log Message:
Pull up revisions:
  xsrc/external/mit/xorg-server/dist/dix/dixfonts.c revision 1.2
  xsrc/xfree/xc/programs/Xserver/dix/dixfonts.c revision 1.4
(requested by spz in ticket #966).

Fix CVE-2013-4396 using a patch from:

--- snip ---
>From a4d9bf1259ad28f54b6d59a480b2009cc89ca623 Mon Sep 17 00:00:00 2001
From: Alan Coopersmith 
Date: Mon, 16 Sep 2013 21:47:16 -0700
Subject: [PATCH] Avoid use-after-free in dix/dixfonts.c: doImageText()

Save a pointer to the passed in closure structure before copying it
and overwriting the *c pointer to point to our copy instead of the
original.  If we hit an error, once we free(c), reset c to point to
the original structure before jumping to the cleanup code that
references *c.

Since one of the errors being checked for is whether the server was
able to malloc(c->nChars * itemSize), the client can potentially pass
a number of characters chosen to cause the malloc to fail and the
error path to be taken, resulting in the read from freed memory.

Since the memory is accessed almost immediately afterwards, and the
X server is mostly single threaded, the odds of the free memory having
invalid contents are low with most malloc implementations when not using
memory debugging features, but some allocators will definitely overwrite
the memory there, leading to a likely crash.

Reported-by: Pedro Ribeiro 
Signed-off-by: Alan Coopersmith 
Reviewed-by: Julien Cristau 


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5 -r1.1.1.5.6.1 \
xsrc/external/mit/xorg-server/dist/dix/dixfonts.c
cvs rdiff -u -r1.3 -r1.3.6.1 xsrc/xfree/xc/programs/Xserver/dix/dixfonts.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6-0] xsrc

2013-10-12 Thread Julian Coleman
Module Name:xsrc
Committed By:   jdc
Date:   Sat Oct 12 18:58:59 UTC 2013

Modified Files:
xsrc/external/mit/xorg-server/dist/dix [netbsd-6-0]: dixfonts.c
xsrc/xfree/xc/programs/Xserver/dix [netbsd-6-0]: dixfonts.c

Log Message:
Pull up revisions:
  xsrc/external/mit/xorg-server/dist/dix/dixfonts.c revision 1.2
  xsrc/xfree/xc/programs/Xserver/dix/dixfonts.c revision 1.4
(requested by spz in ticket #966).

Fix CVE-2013-4396 using a patch from:

--- snip ---
>From a4d9bf1259ad28f54b6d59a480b2009cc89ca623 Mon Sep 17 00:00:00 2001
From: Alan Coopersmith 
Date: Mon, 16 Sep 2013 21:47:16 -0700
Subject: [PATCH] Avoid use-after-free in dix/dixfonts.c: doImageText()

Save a pointer to the passed in closure structure before copying it
and overwriting the *c pointer to point to our copy instead of the
original.  If we hit an error, once we free(c), reset c to point to
the original structure before jumping to the cleanup code that
references *c.

Since one of the errors being checked for is whether the server was
able to malloc(c->nChars * itemSize), the client can potentially pass
a number of characters chosen to cause the malloc to fail and the
error path to be taken, resulting in the read from freed memory.

Since the memory is accessed almost immediately afterwards, and the
X server is mostly single threaded, the odds of the free memory having
invalid contents are low with most malloc implementations when not using
memory debugging features, but some allocators will definitely overwrite
the memory there, leading to a likely crash.

Reported-by: Pedro Ribeiro 
Signed-off-by: Alan Coopersmith 
Reviewed-by: Julien Cristau 


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5 -r1.1.1.5.4.1 \
xsrc/external/mit/xorg-server/dist/dix/dixfonts.c
cvs rdiff -u -r1.3 -r1.3.4.1 xsrc/xfree/xc/programs/Xserver/dix/dixfonts.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] xsrc

2013-10-12 Thread Julian Coleman
Module Name:xsrc
Committed By:   jdc
Date:   Sat Oct 12 18:58:53 UTC 2013

Modified Files:
xsrc/external/mit/xorg-server/dist/dix [netbsd-6]: dixfonts.c
xsrc/xfree/xc/programs/Xserver/dix [netbsd-6]: dixfonts.c

Log Message:
Pull up revisions:
  xsrc/external/mit/xorg-server/dist/dix/dixfonts.c revision 1.2
  xsrc/xfree/xc/programs/Xserver/dix/dixfonts.c revision 1.4
(requested by spz in ticket #966).

Fix CVE-2013-4396 using a patch from:

--- snip ---
>From a4d9bf1259ad28f54b6d59a480b2009cc89ca623 Mon Sep 17 00:00:00 2001
From: Alan Coopersmith 
Date: Mon, 16 Sep 2013 21:47:16 -0700
Subject: [PATCH] Avoid use-after-free in dix/dixfonts.c: doImageText()

Save a pointer to the passed in closure structure before copying it
and overwriting the *c pointer to point to our copy instead of the
original.  If we hit an error, once we free(c), reset c to point to
the original structure before jumping to the cleanup code that
references *c.

Since one of the errors being checked for is whether the server was
able to malloc(c->nChars * itemSize), the client can potentially pass
a number of characters chosen to cause the malloc to fail and the
error path to be taken, resulting in the read from freed memory.

Since the memory is accessed almost immediately afterwards, and the
X server is mostly single threaded, the odds of the free memory having
invalid contents are low with most malloc implementations when not using
memory debugging features, but some allocators will definitely overwrite
the memory there, leading to a likely crash.

Reported-by: Pedro Ribeiro 
Signed-off-by: Alan Coopersmith 
Reviewed-by: Julien Cristau 


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5 -r1.1.1.5.2.1 \
xsrc/external/mit/xorg-server/dist/dix/dixfonts.c
cvs rdiff -u -r1.3 -r1.3.2.1 xsrc/xfree/xc/programs/Xserver/dix/dixfonts.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/doc

2013-10-12 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Sat Oct 12 18:59:58 UTC 2013

Modified Files:
src/doc [netbsd-6]: CHANGES-6.2

Log Message:
Ticket #966.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.53 -r1.1.2.54 src/doc/CHANGES-6.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6-0] src/doc

2013-10-12 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Sat Oct 12 19:00:01 UTC 2013

Modified Files:
src/doc [netbsd-6-0]: CHANGES-6.0.4

Log Message:
Ticket #966.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/doc/CHANGES-6.0.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6-1] src/doc

2013-10-12 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Sat Oct 12 19:00:10 UTC 2013

Modified Files:
src/doc [netbsd-6-1]: CHANGES-6.1.3

Log Message:
Ticket #966.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/doc/CHANGES-6.1.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/mca

2013-10-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 12 21:11:42 UTC 2013

Modified Files:
src/sys/dev/mca: edc_mca.c

Log Message:
adjust for recent deferred changes.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/mca/edc_mca.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/httpd

2013-10-12 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Oct 12 22:37:43 UTC 2013

Modified Files:
src/libexec/httpd: bozohttpd.8

Log Message:
Sort.  More markup.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/libexec/httpd/bozohttpd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2013-10-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Oct 13 04:24:21 UTC 2013

Modified Files:
src/sys/dev/ic: ciss.c

Log Message:
make the driver able to send scsi commands; now the disks are found.
it was converted incorrectly to device_t.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/ic/ciss.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2013-10-12 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sun Oct 13 06:55:35 UTC 2013

Modified Files:
src/sys/arch/arm/xscale: pxa2x0_pcic.c
src/sys/arch/dreamcast/dev/maple: maple.c
src/sys/arch/emips/ebus: ace_ebus.c flash_ebus.c
src/sys/arch/epoc32/dev: etna.c
src/sys/arch/hpcsh/dev/hd64461: hd64461pcmcia.c
src/sys/arch/i386/pnpbios: pnpbios.c
src/sys/arch/xen/xen: xbd_xenbus.c xpci_xenbus.c
src/sys/arch/xen/xenbus: xenbus_probe.c
src/sys/dev/ic: i82365.c

Log Message:
Catch up to recent changes in config_pending_{incr,decr}().


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/xscale/pxa2x0_pcic.c
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/dreamcast/dev/maple/maple.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/emips/ebus/ace_ebus.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/emips/ebus/flash_ebus.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/epoc32/dev/etna.c
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/i386/pnpbios/pnpbios.c
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/xen/xen/xbd_xenbus.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/xen/xen/xpci_xenbus.c
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/xen/xenbus/xenbus_probe.c
cvs rdiff -u -r1.115 -r1.116 src/sys/dev/ic/i82365.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.