Re: svn commit: r240067 - head/sys/kern

2012-09-04 Thread Aleksandr Rybalko
On Mon, 3 Sep 2012 12:29:05 -0700 Garrett Cooper wrote: >> On Mon, Sep 3, 2012 at 2:23 AM, Aleksandr Rybalko >> wrote: >> > On Mon, 3 Sep 2012 02:05:15 -0700 >> > Garrett Cooper wrote: >> > >> >>> On Sep 3, 2012, at 1:52 AM, Aleksandr Rybalko wrote: >> >>> >> >>> > Author: ray >> >>> > Date: Mo

Re: svn commit: r240067 - head/sys/kern

2012-09-04 Thread Aleksandr Rybalko
On Mon, 3 Sep 2012 20:02:08 +0300 Konstantin Belousov wrote: >> On Mon, Sep 03, 2012 at 09:09:08AM -0700, m...@freebsd.org wrote: >> > On Mon, Sep 3, 2012 at 1:52 AM, Aleksandr Rybalko >> > wrote: >> > > Author: ray >> > > Date: Mon Sep 3 08:52:05 2012 >> > > New Revision: 240067 >> > > URL: ht

Re: svn commit: r240067 - head/sys/kern

2012-09-04 Thread Aleksandr Rybalko
On Mon, 3 Sep 2012 09:09:08 -0700 m...@freebsd.org wrote: >> On Mon, Sep 3, 2012 at 1:52 AM, Aleksandr Rybalko >> wrote: >> > Author: ray >> > Date: Mon Sep 3 08:52:05 2012 >> > New Revision: 240067 >> > URL: http://svn.freebsd.org/changeset/base/240067 >> > >> > Log: >> > Add kern.hintmode sy

svn commit: r240082 - head/sys/ofed/drivers/infiniband/ulp/ipoib

2012-09-04 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Sep 4 10:56:30 2012 New Revision: 240082 URL: http://svn.freebsd.org/changeset/base/240082 Log: Remove unneeded ipfw headers introduced in r213447 from Infiniband code. MFC after: 2 weeks Modified: head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h Modifi

svn commit: r240083 - head/bin/setfacl

2012-09-04 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 4 11:43:00 2012 New Revision: 240083 URL: http://svn.freebsd.org/changeset/base/240083 Log: Make setfacl(1) behave properly in situations like "setfacl -kd". MFC after:1 month Modified: head/bin/setfacl/setfacl.c Modified: head/bin/setfacl/setfacl.c

svn commit: r240084 - head/bin/setfacl

2012-09-04 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 4 11:50:13 2012 New Revision: 240084 URL: http://svn.freebsd.org/changeset/base/240084 Log: Make "setfacl -bd" an alias for "setfacl -k". Previously it would crash on assert. PR: bin/165807 MFC after:1 month Modified: head/bin/setfacl/setfa

svn commit: r240085 - head/bin/getfacl

2012-09-04 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 4 12:02:23 2012 New Revision: 240085 URL: http://svn.freebsd.org/changeset/base/240085 Log: In getfacl(1) manual page, mention where to read about the ACL syntax. PR submitter suggested adding it to acl(3) instead, but I don't think pointing ordinary users at sec

svn commit: r240086 - in head: share/man/man9 sys/conf sys/libkern sys/net sys/sys

2012-09-04 Thread Gleb Smirnoff
Author: glebius Date: Tue Sep 4 12:07:33 2012 New Revision: 240086 URL: http://svn.freebsd.org/changeset/base/240086 Log: - Move jenkins.h to jenkins_hash.c - Provide missing function that can do hashing of arbitrary sized buffer. - Refetch lookup3.c and do only minimal edits to it, so that

svn commit: r240087 - head/bin/setfacl

2012-09-04 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 4 12:19:34 2012 New Revision: 240087 URL: http://svn.freebsd.org/changeset/base/240087 Log: Fix an error in setfacl(1) that manifested like this: # setfacl -m u:trasz:rwx x # setfacl -m u:root:rwx x # getfacl x # file: x # owner: root # group: wheel

svn commit: r240088 - head/bin/cp

2012-09-04 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 4 12:27:23 2012 New Revision: 240088 URL: http://svn.freebsd.org/changeset/base/240088 Log: Explicitly mention that "cp -p" copies ACLs. PR: docs/168962 MFC after:1 month Modified: head/bin/cp/cp.1 Modified: head/bin/cp/cp.1 =

svn commit: r240090 - head/libexec/save-entropy

2012-09-04 Thread Doug Barton
Author: dougb Date: Tue Sep 4 16:00:51 2012 New Revision: 240090 URL: http://svn.freebsd.org/changeset/base/240090 Log: 1. Use install -d to create the entropy_dir if missing so that we can do it all in one command, with no permissions race. 2. Simplify the rotation logic by cd'ing into

Re: svn commit: r239998 - head/contrib/dtc

2012-09-04 Thread Rafal Jaworowski
On 2012-09-02, at 03:48, Andrew Turner wrote: > Author: andrew > Date: Sun Sep 2 01:48:47 2012 > New Revision: 239998 > URL: http://svn.freebsd.org/changeset/base/239998 > > Log: > Fix a logic inversion in an assert to allow us to use dts files that > include other files. > > Modified: > he

svn commit: r240096 - head/sys/vm

2012-09-04 Thread Dag-Erling Sm�rgrav
Author: des Date: Tue Sep 4 19:04:02 2012 New Revision: 240096 URL: http://svn.freebsd.org/changeset/base/240096 Log: No memory barrier is required. This was pointed out by kib@ a while ago, but I got distracted by other matters. Modified: head/sys/vm/swap_pager.c Modified: head/sys/vm/s

Re: svn commit: r240096 - head/sys/vm

2012-09-04 Thread John Baldwin
On Tuesday, September 04, 2012 3:04:02 pm Dag-Erling SmXrgrav wrote: > Author: des > Date: Tue Sep 4 19:04:02 2012 > New Revision: 240096 > URL: http://svn.freebsd.org/changeset/base/240096 > > Log: > No memory barrier is required. This was pointed out by kib@ a while ago, > but I got distra

svn commit: r240098 - in head/sys: amd64/conf conf i386/conf

2012-09-04 Thread John Baldwin
Author: jhb Date: Tue Sep 4 19:19:36 2012 New Revision: 240098 URL: http://svn.freebsd.org/changeset/base/240098 Log: Fix duplicate entries for mwl(4): - Move mwlfw from {amd64,i386}/conf/NOTES to sys/conf/NOTES (mwl(4) is already present in sys/conf/NOTES). - Remove duplicate mwl(4) en

svn commit: r240099 - in head/sys: net netinet netinet/ipfw

2012-09-04 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Sep 4 19:43:26 2012 New Revision: 240099 URL: http://svn.freebsd.org/changeset/base/240099 Log: Introduce new link-layer PFIL hook V_link_pfil_hook. Merge ether_ipfw_chk() and part of bridge_pfil() into unified ipfw_check_frame() function called by PFIL. This ch

svn commit: r240101 - head/tools/test/hwpmc

2012-09-04 Thread George V. Neville-Neil
Author: gnn Date: Tue Sep 4 20:14:37 2012 New Revision: 240101 URL: http://svn.freebsd.org/changeset/base/240101 Log: Add a reasonable error message telling the caller to specify a program to be executed under hwpmc. If there is no program to run then exit. Modified: head/tools/test/hwp

svn commit: r240103 - head/tools/tools/netmap

2012-09-04 Thread Ed Maste
Author: emaste Date: Tue Sep 4 20:51:25 2012 New Revision: 240103 URL: http://svn.freebsd.org/changeset/base/240103 Log: Failure to open netmap device is unrecoverable. There's no reason to "fail later" since there's nothing this tool can do in netmap mode without /dev/netmap open. Modi

svn commit: r240104 - in head/sys: amd64/conf i386/conf

2012-09-04 Thread Xin LI
Author: delphij Date: Tue Sep 4 21:02:57 2012 New Revision: 240104 URL: http://svn.freebsd.org/changeset/base/240104 Log: Add hpt27xx to GENERIC kernel for amd64 and i386 systems. MFC after:2 weeks Modified: head/sys/amd64/conf/GENERIC head/sys/i386/conf/GENERIC Modified: head/sy

svn commit: r240105 - head/sys/vm

2012-09-04 Thread Dag-Erling Sm�rgrav
Author: des Date: Tue Sep 4 21:06:53 2012 New Revision: 240105 URL: http://svn.freebsd.org/changeset/base/240105 Log: Revert previous commit, which was performed in the wrong tree. Modified: head/sys/vm/swap_pager.c Modified: head/sys/vm/swap_pager.c

Re: svn commit: r240096 - head/sys/vm

2012-09-04 Thread Dag-Erling Smørgrav
John Baldwin writes: > Humm, this seemed to have a lot of unrelated changes? *frak* Thanks for noticing. I committed from the wrong tree. DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/ma

Re: svn commit: r239679 - head/sys/mips/conf

2012-09-04 Thread John Baldwin
On Saturday, August 25, 2012 8:02:14 am Robert Watson wrote: > Author: rwatson > Date: Sat Aug 25 12:02:13 2012 > New Revision: 239679 > URL: http://svn.freebsd.org/changeset/base/239679 > > Log: > Add reference kernel configurations for FreeBSD/beri in simulation, on the > Terasic DE-4, and T

Re: svn commit: r239679 - head/sys/mips/conf

2012-09-04 Thread Brooks Davis
On Tue, Sep 04, 2012 at 03:17:52PM -0400, John Baldwin wrote: > On Saturday, August 25, 2012 8:02:14 am Robert Watson wrote: > > Author: rwatson > > Date: Sat Aug 25 12:02:13 2012 > > New Revision: 239679 > > URL: http://svn.freebsd.org/changeset/base/239679 > > > > Log: > > Add reference kernel

svn commit: r240107 - head/lib/libc/stdlib

2012-09-04 Thread Dag-Erling Sm�rgrav
Author: des Date: Tue Sep 4 21:40:53 2012 New Revision: 240107 URL: http://svn.freebsd.org/changeset/base/240107 Log: Add a prominent warning about these functions' unsuitability for cryptographic purposes, and recommend using arc4random(3) instead. Modified: head/lib/libc/stdlib/rand.3

svn commit: r240108 - head/etc/rc.d

2012-09-04 Thread David E. O'Brien
Author: obrien Date: Tue Sep 4 21:47:09 2012 New Revision: 240108 URL: http://svn.freebsd.org/changeset/base/240108 Log: * Rather than run the same 'ps' command twice, add 'kenv' which often gives machine unique values from the firmware. * The kernel is more likely to be unique than /bin/

Re: svn commit: r239679 - head/sys/mips/conf

2012-09-04 Thread Dag-Erling Smørgrav
John Baldwin writes: > Hmm, the tinderbox skips the BERI configs: It doesn't build the BERI kernels because they're mips64/mips, and it only builds mips/mips. DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-head@freebsd.org mailing list http://li

Re: svn commit: r239679 - head/sys/mips/conf

2012-09-04 Thread Garrett Cooper
On Tue, Sep 4, 2012 at 2:50 PM, Dag-Erling Smørgrav wrote: > John Baldwin writes: >> Hmm, the tinderbox skips the BERI configs: > > It doesn't build the BERI kernels because they're mips64/mips, and it > only builds mips/mips. Does it sanitize TARGETS and KERNCONFs properly? -Garrett ___

svn commit: r240109 - head/etc/rc.d

2012-09-04 Thread Dag-Erling Sm�rgrav
Author: des Date: Tue Sep 4 21:56:16 2012 New Revision: 240109 URL: http://svn.freebsd.org/changeset/base/240109 Log: Add a configtest command. Submitted by: gjb@ MFC after:1 week Modified: head/etc/rc.d/sshd Modified: head/etc/rc.d/sshd ==

Re: svn commit: r239679 - head/sys/mips/conf

2012-09-04 Thread Dag-Erling Smørgrav
Garrett Cooper writes: > Dag-Erling Smørgrav writes: > > It doesn't build the BERI kernels because they're mips64/mips, and > > it only builds mips/mips. > Does it sanitize TARGETS and KERNCONFs properly? I have no idea what that even means. DES -- Dag-Erling Smørgrav - d...@des.no ___

svn commit: r240111 - head/lib/libc/stdlib

2012-09-04 Thread Dag-Erling Sm�rgrav
Author: des Date: Tue Sep 4 22:03:16 2012 New Revision: 240111 URL: http://svn.freebsd.org/changeset/base/240111 Log: Bump dates. Reminded by: bz@ Modified: head/lib/libc/stdlib/rand.3 head/lib/libc/stdlib/random.3 Modified: head/lib/libc/stdlib/rand.3 ==

svn commit: r240112 - head/sys/net

2012-09-04 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Sep 4 22:17:33 2012 New Revision: 240112 URL: http://svn.freebsd.org/changeset/base/240112 Log: Fix the build broken by r240099. Hide link_pfil_hook under _KERNEL macro. MFC after:3 weeks Modified: head/sys/net/if_var.h Modified: head/sys/net/if_var.h =

svn commit: r240113 - head/sys/vm

2012-09-04 Thread Dag-Erling Sm�rgrav
Author: des Date: Tue Sep 4 22:19:33 2012 New Revision: 240113 URL: http://svn.freebsd.org/changeset/base/240113 Log: No memory barrier is required. This was pointed out by kib@ a while ago, but I got distracted by other matters. (for real this time) Modified: head/sys/vm/swap_pager.

svn commit: r240114 - head/sys/netinet

2012-09-04 Thread Michael Tuexen
Author: tuexen Date: Tue Sep 4 22:40:49 2012 New Revision: 240114 URL: http://svn.freebsd.org/changeset/base/240114 Log: Whitespace change. MFC after: 3 days Modified: head/sys/netinet/sctputil.c Modified: head/sys/netinet/sctputil.c

svn commit: r240115 - head/sys/netinet

2012-09-04 Thread Michael Tuexen
Author: tuexen Date: Tue Sep 4 22:45:00 2012 New Revision: 240115 URL: http://svn.freebsd.org/changeset/base/240115 Log: Use the consistenly the size of a variable. This helps to keep the code simpler for the userland implementation. MFC after: 3 days Modified: head/sys/netinet/sctp_o

svn commit: r240118 - in head/sys/dev/usb: . serial

2012-09-04 Thread Gavin Atkinson
Author: gavin Date: Tue Sep 4 23:13:24 2012 New Revision: 240118 URL: http://svn.freebsd.org/changeset/base/240118 Log: Support another uchcom(4) device. MFC after:1 week Modified: head/sys/dev/usb/serial/uchcom.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/serial/uchcom.

svn commit: r240119 - head/sys/kern

2012-09-04 Thread Aleksandr Rybalko
Author: ray Date: Tue Sep 4 23:16:55 2012 New Revision: 240119 URL: http://svn.freebsd.org/changeset/base/240119 Log: Style fixes. Suggested by: mdf Approved by: adrian (menthor) Modified: head/sys/kern/subr_hints.c Modified: head/sys/kern/subr_hints.c

svn commit: r240120 - head/contrib/atf

2012-09-04 Thread Marcel Moolenaar
Author: marcel Date: Tue Sep 4 23:16:58 2012 New Revision: 240120 URL: http://svn.freebsd.org/changeset/base/240120 Log: Merge ATF 0.16 from vendor/atf/dist. Provenance: http://code.google.com/p/kyua Discussed with: gibbs, gnn, keramida, mdf, mlaier, Discussed with: Garrett Cooper Add

svn commit: r240122 - in head/contrib/atf: . atf-c

2012-09-04 Thread Marcel Moolenaar
Author: marcel Date: Tue Sep 4 23:27:07 2012 New Revision: 240122 URL: http://svn.freebsd.org/changeset/base/240122 Log: Add headers created by running configure. Added: head/contrib/atf/atf-c/defs.h head/contrib/atf/bconfig.h Added: head/contrib/atf/atf-c/defs.h =

Re: svn commit: r239679 - head/sys/mips/conf

2012-09-04 Thread Garrett Cooper
On Tue, Sep 4, 2012 at 3:01 PM, Dag-Erling Smørgrav wrote: > Garrett Cooper writes: >> Dag-Erling Smørgrav writes: >> > It doesn't build the BERI kernels because they're mips64/mips, and >> > it only builds mips/mips. >> Does it sanitize TARGETS and KERNCONFs properly? > > I have no idea what th

Re: svn commit: r239679 - head/sys/mips/conf

2012-09-04 Thread Dag-Erling Smørgrav
Garrett Cooper writes: > Dag-Erling Smørgrav writes: > > Garrett Cooper writes: > > > Does it sanitize TARGETS and KERNCONFs properly? > > I have no idea what that even means. > Answering myself, it should if TARGET isn't explicitly defined to > something that the conversion logic wouldn't creat

Re: svn commit: r239679 - head/sys/mips/conf

2012-09-04 Thread Garrett Cooper
On Tue, Sep 4, 2012 at 4:39 PM, Dag-Erling Smørgrav wrote: > Garrett Cooper writes: >> Dag-Erling Smørgrav writes: >> > Garrett Cooper writes: >> > > Does it sanitize TARGETS and KERNCONFs properly? >> > I have no idea what that even means. >> Answering myself, it should if TARGET isn't explici

Re: svn commit: r239679 - head/sys/mips/conf

2012-09-04 Thread Dag-Erling Smørgrav
Garrett Cooper writes: > I [very briefly] thought someone could set KERNCONF in /etc/src.conf > or on the command line and it would screw things up, but I quickly > realized that assumption was incorrect. The tinderbox points both __MAKE_CONF and SRCCONF at /dev/null anyway. DES -- Dag-Erling S

Re: svn commit: r240119 - head/sys/kern

2012-09-04 Thread Bruce Evans
On Tue, 4 Sep 2012, Aleksandr Rybalko wrote: Log: Style fixes. Suggested by: mdf Approved by: adrian (menthor) The following style bugs remain. (The density of style bugs is low enough for them to be easy to fix.) Modified: head/sys/kern/subr_hints.c

Re: svn commit: r240026 - head/sys/kern

2012-09-04 Thread Bruce Evans
On Mon, 3 Sep 2012, Andrey Zonov wrote: On 9/3/12 1:20 AM, Garrett Cooper wrote: On Sun, Sep 2, 2012 at 2:16 PM, Garrett Cooper wrote: On Sun, Sep 2, 2012 at 10:39 AM, Andrey Zonov wrote: Author: zont Date: Sun Sep 2 17:39:02 2012 New Revision: 240026 URL: http://svn.freebsd.org/changeset/

svn commit: r240126 - in head/sys: amd64/amd64 i386/i386 i386/xen mips/mips

2012-09-04 Thread Alan Cox
Author: alc Date: Wed Sep 5 06:02:54 2012 New Revision: 240126 URL: http://svn.freebsd.org/changeset/base/240126 Log: Rename {_,}pmap_unwire_pte_hold() to {_,}pmap_unwire_ptp() and update the comment describing them. Both the function names and the comment had grown stale. Quite some time

Re: svn commit: r239587 - head/sys/kern

2012-09-04 Thread Andriy Gapon
on 22/08/2012 23:02 John Baldwin said the following: > Author: jhb > Date: Wed Aug 22 20:02:42 2012 > New Revision: 239587 > URL: http://svn.freebsd.org/changeset/base/239587 > > Log: > Assert that system calls do not leak a pinned thread (via sched_pin()) to > userland. > > Modified: > hea

svn commit: r240128 - head/sys/dev/bxe

2012-09-04 Thread Mike Silbersack
Author: silby Date: Wed Sep 5 06:51:28 2012 New Revision: 240128 URL: http://svn.freebsd.org/changeset/base/240128 Log: Only stop the BXE controller if it was first started. Stopping an uninitialized controller can cause IPMI bus errors on some systems. Reviewed by: yongari Obtaine