CVS commit: othersrc/crypto/external/bsd/ssss

2012-02-20 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Tue Feb 21 05:25:42 UTC 2012

Modified Files:
othersrc/crypto/external/bsd//dist/include: .h
othersrc/crypto/external/bsd//dist/src/lib: secsplit.c
othersrc/crypto/external/bsd//dist/src/: main.c
othersrc/crypto/external/bsd//lib: Makefile
Removed Files:
othersrc/crypto/external/bsd//dist/src/lib: internal.h
threshold.c

Log Message:
Numerous changes to (1) and lib(3):

+ don't use the threshold headers any more - just use our own
header

+ "" is the only algorithm supported by (1)

+ add back (seamless) file I/O functionality, in the case that a
memory mapping, or subsequent memory allocation, fails

+ don't store information in the  share header which could be used
as part of an attack (specifically the threshold and total number of
shares).

+ size the extra memory required on a much better estimate of the size
needed, rather than a constant size

+ get rid of unneeded files, now that everything has been cleaned up


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
othersrc/crypto/external/bsd//dist/include/.h
cvs rdiff -u -r1.1.1.1 -r0 \
othersrc/crypto/external/bsd//dist/src/lib/internal.h
cvs rdiff -u -r1.5 -r1.6 \
othersrc/crypto/external/bsd//dist/src/lib/secsplit.c
cvs rdiff -u -r1.3 -r0 \
othersrc/crypto/external/bsd//dist/src/lib/threshold.c
cvs rdiff -u -r1.2 -r1.3 \
othersrc/crypto/external/bsd//dist/src//main.c
cvs rdiff -u -r1.1.1.1 -r1.2 \
othersrc/crypto/external/bsd//lib/Makefile

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



CVS commit: src/sys/kern

2012-02-20 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Feb 21 04:13:22 UTC 2012

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

Log Message:
keep track of the original array length so we can pass it to kmem_free, from
enami


To generate a diff of this commit:
cvs rdiff -u -r1.343 -r1.344 src/sys/kern/kern_exec.c

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



CVS commit: src/sys/kern

2012-02-20 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Feb 21 03:44:54 UTC 2012

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

Log Message:
fix fae free'ing, from enami.


To generate a diff of this commit:
cvs rdiff -u -r1.342 -r1.343 src/sys/kern/kern_exec.c

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



CVS commit: src/sbin/scsictl

2012-02-20 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Feb 21 02:22:54 UTC 2012

Modified Files:
src/sbin/scsictl: scsi_subr.c

Log Message:
Prevent stack buffer overflow when copying too-large-CDB into request.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sbin/scsictl/scsi_subr.c

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



CVS commit: src/sbin/scsictl

2012-02-20 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Feb 21 02:19:41 UTC 2012

Modified Files:
src/sbin/scsictl: extern.h scsi_subr.c

Log Message:
constify command data argument to scsi_command().


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sbin/scsictl/extern.h
cvs rdiff -u -r1.12 -r1.13 src/sbin/scsictl/scsi_subr.c

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



CVS commit: src/sys/arch/powerpc/include

2012-02-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Feb 21 02:19:01 UTC 2012

Modified Files:
src/sys/arch/powerpc/include: cdefs.h

Log Message:
Restore back to double alignment.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/powerpc/include/cdefs.h

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



CVS commit: src/sys/arch/powerpc/include

2012-02-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Feb 21 02:09:35 UTC 2012

Modified Files:
src/sys/arch/powerpc/include: cdefs.h

Log Message:
Change ALIGNBYTES to be AltiVec savvy


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/powerpc/include/cdefs.h

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



CVS commit: src/sys/arch/powerpc/booke/dev

2012-02-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Feb 21 02:08:55 UTC 2012

Modified Files:
src/sys/arch/powerpc/booke/dev: pq3etsec.c

Log Message:
Don't rely on being able to allocate while in a softintr.  So preallocate
all the bus_dma maps in ifinit where we can sleep.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/powerpc/booke/dev/pq3etsec.c

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



CVS commit: src/bin/dd

2012-02-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Feb 21 01:49:02 UTC 2012

Modified Files:
src/bin/dd: dd.c

Log Message:
Fix a very old bug.  When allocating the buffer and doing just a bs= transfer,
hen we only need a single buffer equal to that blocksize in length.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/bin/dd/dd.c

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



CVS commit: src/sys/arch/xen/xen

2012-02-20 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Feb 21 01:47:50 UTC 2012

Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c

Log Message:
Add and use xbdminphys() to handle transfer segmentation/size limit.
Should allow us to use a normal MAXPHYS in domU kernels.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/xen/xen/xbd_xenbus.c

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



CVS commit: src/share/mk

2012-02-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Feb 21 01:41:10 UTC 2012

Modified Files:
src/share/mk: bsd.prog.mk

Log Message:
Remove another ${SIZE}


To generate a diff of this commit:
cvs rdiff -u -r1.272 -r1.273 src/share/mk/bsd.prog.mk

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 22:43:12 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: usbdivar.h

Log Message:
expand a command slightly


To generate a diff of this commit:
cvs rdiff -u -r1.93.8.6 -r1.93.8.7 src/sys/dev/usb/usbdivar.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/raidframe

2012-02-20 Thread Greg Oster
Module Name:src
Committed By:   oster
Date:   Mon Feb 20 22:42:52 UTC 2012

Modified Files:
src/sys/dev/raidframe: rf_reconstruct.c

Log Message:
Add logic to the main reconstruction loop to handle RAID5 with rotated
spares.  While here, observe that we were actually doing one more
stripe than we thought we were, and correct that too (it didn't matter
for non-RAID5_RS, but it definitely does for RAID5_RS).  Add some
bounds-checking at the beginning to handle the case where the number
of stripes in the set is smaller than the sliding reconstruction window.

XXX: this problem likely needs to be fixed for PARITY_DECLUSTERING too.


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/sys/dev/raidframe/rf_reconstruct.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 22:42:47 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: usbdi.c

Log Message:
keep the thread lock taken for the abort() callback.


To generate a diff of this commit:
cvs rdiff -u -r1.134.2.9 -r1.134.2.10 src/sys/dev/usb/usbdi.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 22:42:25 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c

Log Message:
make sure we have the thread lock when calling usb_transfer_complete()


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.9 -r1.181.6.10 src/sys/dev/usb/ehci.c

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



CVS commit: src/sys/dev/raidframe

2012-02-20 Thread Greg Oster
Module Name:src
Committed By:   oster
Date:   Mon Feb 20 22:42:05 UTC 2012

Modified Files:
src/sys/dev/raidframe: rf_reconmap.c

Log Message:
comment, and effectively remove, a DIAGNOSTIC check that
is invalid for RAID5_RS.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/raidframe/rf_reconmap.c

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



CVS commit: [jmcneill-usbmp] src/sys/rump/librump/rumpkern

2012-02-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 22:36:11 UTC 2012

Modified Files:
src/sys/rump/librump/rumpkern [jmcneill-usbmp]: klock.c

Log Message:
pull across from -current:
>add a _kernel_locked_p().


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.12.1 src/sys/rump/librump/rumpkern/klock.c

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



CVS commit: src/sys/rump/librump/rumpkern

2012-02-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 22:35:15 UTC 2012

Modified Files:
src/sys/rump/librump/rumpkern: klock.c

Log Message:
add a _kernel_locked_p().


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/rump/librump/rumpkern/klock.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

2012-02-20 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Mon Feb 20 22:05:01 UTC 2012

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

Log Message:
Ticket #15


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/doc/CHANGES-6.0

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



CVS commit: [netbsd-6] src/usr.sbin/makemandb

2012-02-20 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Mon Feb 20 22:04:30 UTC 2012

Modified Files:
src/usr.sbin/makemandb [netbsd-6]: apropos.1 makemandb.8 whatis.c

Log Message:
Pull up the following revisions(s) (requested by joerg in ticket #15):
usr.sbin/makemandb/apropos.1:   revision 1.4
usr.sbin/makemandb/makemandb.8: revision 1.2
usr.sbin/makemandb/whatis.c:revision 1.3

Add reference to whatis(1).
SQLite doesn't use the FTS index for equal ops, so force it to do a FTS
search first. Drops run time by a factor of 6 for "whatis man".


To generate a diff of this commit:
cvs rdiff -u -r1.2.2.1 -r1.2.2.2 src/usr.sbin/makemandb/apropos.1
cvs rdiff -u -r1.1 -r1.1.2.1 src/usr.sbin/makemandb/makemandb.8
cvs rdiff -u -r1.2 -r1.2.2.1 src/usr.sbin/makemandb/whatis.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

2012-02-20 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Mon Feb 20 21:55:44 UTC 2012

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

Log Message:
Ticket #14


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/doc/CHANGES-6.0

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



CVS commit: [netbsd-6] src

2012-02-20 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Mon Feb 20 21:54:57 UTC 2012

Modified Files:
src/include [netbsd-6]: spawn.h
src/sys/kern [netbsd-6]: kern_exec.c
src/sys/uvm [netbsd-6]: uvm_glue.c
src/tests/lib/libc/gen/posix_spawn [netbsd-6]: t_fileactions.c

Log Message:
Pull up the following revisions(s) (requested by martin in ticket #14):
include/spawn.h:revision 1.2
sys/kern/kern_exec.c:   revision 1.341
sys/uvm/uvm_glue.c: revision 1.157
tests/lib/libc/gen/posix_spawn/t_fileactions.c: revision 1.3

posix_spawn: fix kernel bug when passing empty fileactions (PR kern/46038)
and add a test case for this.  Fix potential race condition, doublefreeing
of memory and memory leaks in error cases.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.1.2.1 src/include/spawn.h
cvs rdiff -u -r1.339 -r1.339.2.1 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.156 -r1.156.2.1 src/sys/uvm/uvm_glue.c
cvs rdiff -u -r1.2 -r1.2.2.1 \
src/tests/lib/libc/gen/posix_spawn/t_fileactions.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

2012-02-20 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Mon Feb 20 21:42:13 UTC 2012

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

Log Message:
Ticket #13


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/doc/CHANGES-6.0

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



CVS commit: [netbsd-6] src

2012-02-20 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Mon Feb 20 21:41:30 UTC 2012

Modified Files:
src/doc [netbsd-6]: 3RDPARTY CHANGES
src/external/bsd/pkg_install/dist/add [netbsd-6]: perform.c
src/external/bsd/pkg_install/dist/delete [netbsd-6]: pkg_delete.c
src/external/bsd/pkg_install/dist/lib [netbsd-6]: license.c opattern.c
pkg_summary.5 version.h

Log Message:
Pull up the following revisions(s) (requested by tron in ticket #13):
doc/3RDPARTY:   patch
doc/CHANGES:patch
external/bsd/pkg_install/dist/add/perform.c:patch
external/bsd/pkg_install/dist/delete/pkg_delete.c:  patch
external/bsd/pkg_install/dist/lib/license.c:patch
external/bsd/pkg_install/dist/lib/opattern.c:   patch
external/bsd/pkg_install/dist/lib/pkg_summary.5:patch
external/bsd/pkg_install/dist/lib/version.h:patch

Update "pkg_install" to version 20120128:
- pkg_install 20120128:
  - Explicitly stat(2) if mkdir failed. errno detection doesn't work e.g.
on Solaris.
  - Provide a stable order for package names that only differe in the base
name, not the version number.
- pkg_install 20110805:
  - Fix for pkg_delete on NFS from Anthony Mallet.


To generate a diff of this commit:
cvs rdiff -u -r1.909.2.1 -r1.909.2.2 src/doc/3RDPARTY
cvs rdiff -u -r1.1670.2.1 -r1.1670.2.2 src/doc/CHANGES
cvs rdiff -u -r1.1.1.18 -r1.1.1.18.6.1 \
src/external/bsd/pkg_install/dist/add/perform.c
cvs rdiff -u -r1.1.1.7 -r1.1.1.7.8.1 \
src/external/bsd/pkg_install/dist/delete/pkg_delete.c
cvs rdiff -u -r1.2 -r1.2.6.1 src/external/bsd/pkg_install/dist/lib/license.c
cvs rdiff -u -r1.1.1.2 -r1.1.1.2.14.1 \
src/external/bsd/pkg_install/dist/lib/opattern.c
cvs rdiff -u -r1.3 -r1.3.12.1 \
src/external/bsd/pkg_install/dist/lib/pkg_summary.5
cvs rdiff -u -r1.7 -r1.7.6.1 src/external/bsd/pkg_install/dist/lib/version.h

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

2012-02-20 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Mon Feb 20 21:17:22 UTC 2012

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

Log Message:
Ticket #12


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/doc/CHANGES-6.0

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



CVS commit: [netbsd-6] src/sys/dev/usb

2012-02-20 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Mon Feb 20 21:16:59 UTC 2012

Modified Files:
src/sys/dev/usb [netbsd-6]: umidi.c

Log Message:
Pull up the following revisions(s) (requested by mrg in ticket #12):
sys/dev/usb/umidi.c:revision 1.60

Fix the reversed logic in several uses of the new 'closing' member
introduced in the previous change. From PR 45909.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.59.2.1 src/sys/dev/usb/umidi.c

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



CVS commit: src/sys/arch/x86/x86

2012-02-20 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Mon Feb 20 20:49:12 UTC 2012

Modified Files:
src/sys/arch/x86/x86: pmap.c

Log Message:
- Make pmap_write_protect() work with pmap_kernel() too ((va & L2_FRAME)
  strips the high bits of a LP64 address)
- use pmap_protect() in pmap_pdp_ctor() to remap the PDP read-only instead
  of (ab)using pmap_kenter_pa(). No more "mapping already present" on
  console with DIAGNOSTIC kernels
- make sure to zero the whole PDP (NTOPLEVEL_PDES doens't include
  high-level entries on i386 and i386PAE, reserved by Xen). Not sure
  how it has worked before
- remove an always-true test (&& pmap != pmap_kernel(); we KASSERT that
  at the function entry).


To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 src/sys/arch/x86/x86/pmap.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev

2012-02-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 20:35:40 UTC 2012

Modified Files:
src/sys/dev/scsipi [jmcneill-usbmp]: scsipi_base.c
src/sys/dev/usb [jmcneill-usbmp]: umass_scsipi.c usscanner.c

Log Message:
pullup from -current:
>assert kernel lock is held in a few places in inside scsipi.
>lock the kernel when calling into scsipi from umass and usscanner.
>
>with these two in place on usbmp branch, umass appears stable.


To generate a diff of this commit:
cvs rdiff -u -r1.155 -r1.155.12.1 src/sys/dev/scsipi/scsipi_base.c
cvs rdiff -u -r1.38 -r1.38.6.1 src/sys/dev/usb/umass_scsipi.c
cvs rdiff -u -r1.30.12.1 -r1.30.12.2 src/sys/dev/usb/usscanner.c

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



CVS commit: src/sys/dev

2012-02-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 20:09:09 UTC 2012

Modified Files:
src/sys/dev/scsipi: scsipi_base.c
src/sys/dev/usb: umass_scsipi.c usscanner.c

Log Message:
assert kernel lock is held in a few places in inside scsipi.
lock the kernel when calling into scsipi from umass and usscanner.

with these two in place on usbmp branch, umass appears stable.


To generate a diff of this commit:
cvs rdiff -u -r1.155 -r1.156 src/sys/dev/scsipi/scsipi_base.c
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/usb/umass_scsipi.c
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/usb/usscanner.c

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



CVS commit: src/sys/uvm

2012-02-20 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Mon Feb 20 19:14:24 UTC 2012

Modified Files:
src/sys/uvm: uvm_km.c uvm_kmguard.c uvm_map.c

Log Message:
When using uvm_km_pgremove_intrsafe() make sure mappings are removed
before returning the pages to the free pool. Otherwise, under Xen,
a page which still has a writable mapping could be allocated for
a PDP by another CPU and the hypervisor would refuse it (this is
PR port-xen/45975).
For this, move the pmap_kremove() calls inside uvm_km_pgremove_intrsafe(),
and do pmap_kremove()/uvm_pagefree() in batch of (at most) 16 entries
(as suggested by Chuck Silvers on tech-kern@, see also
http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012727.html and
followups).


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/uvm/uvm_km.c
cvs rdiff -u -r1.9 -r1.10 src/sys/uvm/uvm_kmguard.c
cvs rdiff -u -r1.314 -r1.315 src/sys/uvm/uvm_map.c

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



CVS commit: src/usr.sbin/makemandb

2012-02-20 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Feb 20 18:27:30 UTC 2012

Modified Files:
src/usr.sbin/makemandb: whatis.c

Log Message:
SQLite doesn't use the FTS index for equal ops, so force it to do a FTS
search first. Drops run time by a factor of 6 for "whatis man".
Found by Abhinav Upadhyay.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/makemandb/whatis.c

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



CVS commit: src/usr.sbin/makemandb

2012-02-20 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Feb 20 18:25:51 UTC 2012

Modified Files:
src/usr.sbin/makemandb: apropos.1 makemandb.8

Log Message:
Add reference to whatis(1). From Abhinav Upadhyay.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/makemandb/apropos.1
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/makemandb/makemandb.8

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



CVS commit: src/share/mk

2012-02-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Feb 20 18:23:50 UTC 2012

Modified Files:
src/share/mk: bsd.prog.mk

Log Message:
Remove ${SIZE}


To generate a diff of this commit:
cvs rdiff -u -r1.271 -r1.272 src/share/mk/bsd.prog.mk

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



CVS commit: src/sys/kern

2012-02-20 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 20 18:18:30 UTC 2012

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

Log Message:
Posix spawn fixes:
- split the file actions allocation and freeing into separate functions
- use pnbuf
- don't play games with pointers (partially freeing stuff etc), only check
  fa and sa and free as needed using the same code.
- use copyinstr properly
- KM_SLEEP allocation can't fail
- if path allocation failed midway, we would be possibily freeing
  userland strings.
- use sizeof(*var) instead sizeof(type)


To generate a diff of this commit:
cvs rdiff -u -r1.341 -r1.342 src/sys/kern/kern_exec.c

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



CVS commit: src/tests/lib/libc/gen/posix_spawn

2012-02-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Feb 20 12:22:40 UTC 2012

Modified Files:
src/tests/lib/libc/gen/posix_spawn: t_fileactions.c

Log Message:
Add a test case to call posix_spawn with empty file actions, which reproduced
the (now fixed) PR kern/46038.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/gen/posix_spawn/t_fileactions.c

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



CVS commit: src/sys/uvm

2012-02-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Feb 20 12:21:24 UTC 2012

Modified Files:
src/sys/uvm: uvm_glue.c

Log Message:
Solve previous fix (for early posix_spawn children exiting on error)
differently.


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/sys/uvm/uvm_glue.c

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



CVS commit: src/sys/kern

2012-02-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Feb 20 12:19:56 UTC 2012

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

Log Message:
More posix_spawn fallout:
Fix a kmem_alloc() call with zero size (PR kern/46038), allow file actions
to be passed, even if empty.
Rearange p_reflock locking for the child, avoid a double free in an
error case, avoid a memory leak in another error case - all pointed out
by yamt.
During blocking operations early in the child borrow the kernel vmspace
(as suggested by yamt).


To generate a diff of this commit:
cvs rdiff -u -r1.340 -r1.341 src/sys/kern/kern_exec.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

2012-02-20 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Feb 20 09:45:22 UTC 2012

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

Log Message:
Bump date for previous. Use more markup.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 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/include

2012-02-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Feb 20 09:28:43 UTC 2012

Modified Files:
src/include: spawn.h

Log Message:
Add missing __BEGIN_DECLS, from Henning Petersen in PR misc/46058.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/include/spawn.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

2012-02-20 Thread Roland Dowdeswell
Module Name:src
Committed By:   elric
Date:   Mon Feb 20 09:26:56 UTC 2012

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

Log Message:
Check in very basic compressed file support.  httpd will now serve
a precompressed .gz file if it exists, the client claims to support
gzip and the request is not ranged.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/libexec/httpd/bozohttpd.8
cvs rdiff -u -r1.30 -r1.31 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.20 -r1.21 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/libexec/httpd

2012-02-20 Thread Roland Dowdeswell
Module Name:src
Committed By:   elric
Date:   Mon Feb 20 08:40:46 UTC 2012

Modified Files:
src/libexec/httpd: ssl-bozo.c

Log Message:
Use a ``certificate chain file'' rather than a ``certificate file'' so
that bozohttpd can be used with non-toplevel certs.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/libexec/httpd/ssl-bozo.c

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