svn commit: r224056 - in head/sys: kern sys

2011-07-15 Thread Jonathan Anderson
Author: jonathan Date: Fri Jul 15 09:37:14 2011 New Revision: 224056 URL: http://svn.freebsd.org/changeset/base/224056 Log: Add implementation for capabilities. Code to actually implement Capsicum capabilities, including fileops and kern_capwrap(), which creates a capability to wrap an ex

svn commit: r224057 - in head/usr.sbin: pmccontrol pmcstat

2011-07-15 Thread Andriy Gapon
Author: avg Date: Fri Jul 15 11:30:41 2011 New Revision: 224057 URL: http://svn.freebsd.org/changeset/base/224057 Log: pmcstat, pmccontrol: catch up with removal of machdep.hlt_cpus sysctl Reported by: Pan Tsu Reviewed by: attilio No objections:gnn Modified: head/usr.sbin/

svn commit: r224058 - head/usr.sbin/pmccontrol

2011-07-15 Thread Attilio Rao
Author: attilio Date: Fri Jul 15 11:46:54 2011 New Revision: 224058 URL: http://svn.freebsd.org/changeset/base/224058 Log: Fix logical_cpus_mask retrieving by using, correctly, cpuset_t. This fix also a bug where pmccontrol uses a 32 static type rather than old cpumask_t. Reported and r

Re: svn commit: r224048 - head/etc/rc.d

2011-07-15 Thread Jilles Tjoelker
On Fri, Jul 15, 2011 at 01:59:09AM +, Kevin Lo wrote: > Author: kevlo > Date: Fri Jul 15 01:59:08 2011 > New Revision: 224048 > URL: http://svn.freebsd.org/changeset/base/224048 > Log: > Remove "-n" from echo > Reviewed by:dougb > Modified: > head/etc/rc.d/routing > Modified:

svn commit: r224059 - head/sbin/fsck_ffs

2011-07-15 Thread Kirk McKusick
Author: mckusick Date: Fri Jul 15 15:43:40 2011 New Revision: 224059 URL: http://svn.freebsd.org/changeset/base/224059 Log: Break out the pass 5 inode and block map updating into a separate function so that the function can be used by the journaling soft updates recovery. Modified: head/sbi

svn commit: r224060 - head/share/man/man4

2011-07-15 Thread Glen Barber
Author: gjb (doc committer) Date: Fri Jul 15 15:56:23 2011 New Revision: 224060 URL: http://svn.freebsd.org/changeset/base/224060 Log: Remove an extra '.It' from axe(4). Reported by: manlint Modified: head/share/man/man4/axe.4 Modified: head/share/man/man4/axe.4 ===

svn commit: r224061 - in head/sys/ufs: ffs ufs

2011-07-15 Thread Kirk McKusick
Author: mckusick Date: Fri Jul 15 16:20:33 2011 New Revision: 224061 URL: http://svn.freebsd.org/changeset/base/224061 Log: Add an FFS specific mount option to allow a filesystem checker (typically fsck_ffs) to register that it wishes to use FFS specific sysctl's to update the filesystem. Th

svn commit: r224062 - head/usr.bin/top

2011-07-15 Thread John Baldwin
Author: jhb Date: Fri Jul 15 17:23:45 2011 New Revision: 224062 URL: http://svn.freebsd.org/changeset/base/224062 Log: Revert 130163 and let top use KERN_PROC_PROC when individual threads are not displayed. The KERN_PROC_PROC sysctl was fixed in 188764. Modified: head/usr.bin/top/machine.c

svn commit: r224063 - head/sys/i386

2011-07-15 Thread Kirk McKusick
Author: mckusick Date: Fri Jul 15 17:27:26 2011 New Revision: 224063 URL: http://svn.freebsd.org/changeset/base/224063 Log: Delete duplicate tags entry I introduced in -r223901. Submitted-by: John Baldwin Modified: head/sys/i386/Makefile Modified: head/sys/i386/Makefile

svn commit: r224066 - in head/sys: compat/freebsd32 kern sys

2011-07-15 Thread Jonathan Anderson
Author: jonathan Date: Fri Jul 15 18:26:19 2011 New Revision: 224066 URL: http://svn.freebsd.org/changeset/base/224066 Log: Add cap_new() and cap_getrights() system calls. Implement two previously-reserved Capsicum system calls: - cap_new() creates a capability to wrap an existing file de

svn commit: r224067 - in head/sys: compat/freebsd32 kern sys

2011-07-15 Thread Jonathan Anderson
Author: jonathan Date: Fri Jul 15 18:33:12 2011 New Revision: 224067 URL: http://svn.freebsd.org/changeset/base/224067 Log: Auto-generated system call code with cap_new(), cap_getrights(). Approved by: mentor (rwatson), re (Capsicum blanket) Sponsored by: Google Inc Modified: head/sys/

svn commit: r224068 - head/sys/conf

2011-07-15 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Jul 15 19:02:44 2011 New Revision: 224068 URL: http://svn.freebsd.org/changeset/base/224068 Log: Sort snd_* entries alphabetically. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES =

Re: svn commit: r223922 - head/usr.bin/rpcgen

2011-07-15 Thread Jilles Tjoelker
On Mon, Jul 11, 2011 at 05:31:53AM +, Xin LI wrote: > Author: delphij > Date: Mon Jul 11 05:31:52 2011 > New Revision: 223922 > URL: http://svn.freebsd.org/changeset/base/223922 > Log: > Use strlcpy(). > MFC after: 1 month It looks like the length is known in all four cases, so that mem

svn commit: r224069 - in head/sys: dev/acpica dev/pci sys x86/include x86/x86

2011-07-15 Thread John Baldwin
Author: jhb Date: Fri Jul 15 21:08:58 2011 New Revision: 224069 URL: http://svn.freebsd.org/changeset/base/224069 Log: Respect the BIOS/firmware's notion of acceptable address ranges for PCI resource allocation on x86 platforms: - Add a new helper API that Host-PCI bridge drivers can use to

svn commit: r224071 - head/share/misc

2011-07-15 Thread Ryan Steinmetz
Author: zi (ports committer) Date: Fri Jul 15 21:37:13 2011 New Revision: 224071 URL: http://svn.freebsd.org/changeset/base/224071 Log: Add myself to committers-ports.dot Approved by: wxs@ (mentor) Modified: head/share/misc/committers-ports.dot Modified: head/share/misc/committers-port

svn commit: r224072 - head/sys/mips/malta

2011-07-15 Thread Adrian Chadd
Author: adrian Date: Sat Jul 16 00:30:23 2011 New Revision: 224072 URL: http://svn.freebsd.org/changeset/base/224072 Log: The i8259 controller is initialized incorrectly on MALTA. It writes mask bits to control register and control bits to mask register. The former causes ICW1_RESET|ICW1