svn commit: r244386 - head/sys/netinet

2012-12-18 Thread Gleb Smirnoff
Author: glebius Date: Tue Dec 18 08:09:44 2012 New Revision: 244386 URL: http://svnweb.freebsd.org/changeset/base/244386 Log: Clear correct flag in INET6 case. Modified: head/sys/netinet/tcp_input.c Modified: head/sys/netinet/tcp_input.c ==

svn commit: r244387 - head/sys/netinet

2012-12-18 Thread Gleb Smirnoff
Author: glebius Date: Tue Dec 18 08:14:16 2012 New Revision: 244387 URL: http://svnweb.freebsd.org/changeset/base/244387 Log: Fix !INET6 build after r244365. Modified: head/sys/netinet/tcp_input.c Modified: head/sys/netinet/tcp_input.c

Re: svn commit: r244387 - head/sys/netinet

2012-12-18 Thread Gleb Smirnoff
Andrey, On Tue, Dec 18, 2012 at 08:14:16AM +, Gleb Smirnoff wrote: T> Author: glebius T> Date: Tue Dec 18 08:14:16 2012 T> New Revision: 244387 T> URL: http://svnweb.freebsd.org/changeset/base/244387 T> T> Log: T> Fix !INET6 build after r244365. T> T> Modified: T> head/sys/netinet/tcp_

Re: svn commit: r244387 - head/sys/netinet

2012-12-18 Thread Adrian Chadd
Thanks! Adrian On 18 December 2012 00:14, Gleb Smirnoff wrote: > Author: glebius > Date: Tue Dec 18 08:14:16 2012 > New Revision: 244387 > URL: http://svnweb.freebsd.org/changeset/base/244387 > > Log: > Fix !INET6 build after r244365. > > Modified: > head/sys/netinet/tcp_input.c > > Modif

svn commit: r244388 - head/sys/dev/wtap

2012-12-18 Thread Monthadar Al Jaberi
Author: monthadar Date: Tue Dec 18 08:41:23 2012 New Revision: 244388 URL: http://svnweb.freebsd.org/changeset/base/244388 Log: wtap: fix clang warning. * The warning message was: 'warning error: format string is not a string literal'; * Changed how make_dev is called, now a string

svn commit: r244389 - head/sys/dev/wtap

2012-12-18 Thread Monthadar Al Jaberi
Author: monthadar Date: Tue Dec 18 08:44:59 2012 New Revision: 244389 URL: http://svnweb.freebsd.org/changeset/base/244389 Log: wtap should check if ieee80211_vap_setup fails. * If ieee80211_vap_setup fails, we free allocated M_80211_VAP memory and return NULL; Approved by: adrian

Re: svn commit: r244389 - head/sys/dev/wtap

2012-12-18 Thread Gleb Smirnoff
Monthadar, On Tue, Dec 18, 2012 at 08:44:59AM +, Monthadar Al Jaberi wrote: M> Author: monthadar M> Date: Tue Dec 18 08:44:59 2012 M> New Revision: 244389 M> URL: http://svnweb.freebsd.org/changeset/base/244389 M> M> Log: M> wtap should check if ieee80211_vap_setup fails. M> M> * If

Re: svn commit: r243631 - in head/sys: kern sys

2012-12-18 Thread Andre Oppermann
On 18.12.2012 06:40, Oleksandr Tymoshenko wrote: On 2012-12-08, at 1:21 PM, Alan Cox wrote: On 12/08/2012 14:32, Andre Oppermann wrote: .. skipped .. The trouble seems to come from NSFBUFS which is (512 + maxusers * 16) resulting in a kernel map of (512 + 400 * 16) * PAGE_SIZE = 27MB.

svn commit: r244390 - in stable/9/contrib/openbsm: . bin bin/audit bin/auditd bin/auditdistd bin/auditfilterd bin/auditreduce bin/praudit bsm compat config etc libauditd libbsm m4 man modules modul...

2012-12-18 Thread Robert Watson
Author: rwatson Date: Tue Dec 18 09:32:44 2012 New Revision: 244390 URL: http://svnweb.freebsd.org/changeset/base/244390 Log: Merge OpenBSM 1.2-alpha3 from head to stable/9, upgrading from the previous OpenBSM 1.1p2: OpenBSM 1.2 alpha 3 - Various minor tweaks to the auditdistd build

Re: svn commit: r244383 - head/etc

2012-12-18 Thread Robert Watson
On Tue, 18 Dec 2012, Andrey Zonov wrote: Author: zont Date: Tue Dec 18 07:27:50 2012 New Revision: 244383 URL: http://svnweb.freebsd.org/changeset/base/244383 Log: - Set memorylocked limit to 64Kb for default login class. This prevents unprivileged users to lock too much memory. - Set mem

Re: svn commit: r244383 - head/etc

2012-12-18 Thread Robert Watson
On Tue, 18 Dec 2012, Robert Watson wrote: Log: - Set memorylocked limit to 64Kb for default login class. This prevents unprivileged users to lock too much memory. - Set memorylocked limit to 64Mb for daemon login class. Some daemons such as amd(8) and watchdogd(8) calls mlockall(2) on

Re: svn commit: r243631 - in head/sys: kern sys

2012-12-18 Thread Alan Cox
On 12/17/2012 23:40, Oleksandr Tymoshenko wrote: > On 2012-12-08, at 1:21 PM, Alan Cox wrote: > >> On 12/08/2012 14:32, Andre Oppermann wrote: > .. skipped .. > >>> The trouble seems to come from NSFBUFS which is (512 + maxusers * 16) >>> resulting in a kernel map of (512 + 400 * 16) * PAGE_SIZE =

svn commit: r244391 - in stable/9/sys: bsm security/audit

2012-12-18 Thread Robert Watson
Author: rwatson Date: Tue Dec 18 10:23:58 2012 New Revision: 244391 URL: http://svnweb.freebsd.org/changeset/base/244391 Log: Merge r243751 from head to stable/9: Merge OpenBSM 1.2-alpha2 changes from contrib/openbsm to src/sys/{bsm,security/audit}. There are a few tweaks to help wit

svn commit: r244392 - stable/9

2012-12-18 Thread Robert Watson
Author: rwatson Date: Tue Dec 18 10:29:28 2012 New Revision: 244392 URL: http://svnweb.freebsd.org/changeset/base/244392 Log: Merge r243798 from head to stable/9: Add auditdistd to the pre-install required uid check list. Modified: stable/9/Makefile.inc1 (contents, props changed) Dir

svn commit: r244393 - stable/9

2012-12-18 Thread Robert Watson
/www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Items affecting the ports and packages system can be found in /usr/ports/UPDATING. Please read that file before running portupgrade. +20121218: + With the addition of auditdistd(8), a new auditdistd user is now + depended on

Re: svn commit: r244389 - head/sys/dev/wtap

2012-12-18 Thread Monthadar Al Jaberi
On Tue, Dec 18, 2012 at 9:53 AM, Gleb Smirnoff wrote: > Monthadar, > > On Tue, Dec 18, 2012 at 08:44:59AM +, Monthadar Al Jaberi wrote: > M> Author: monthadar > M> Date: Tue Dec 18 08:44:59 2012 > M> New Revision: 244389 > M> URL: http://svnweb.freebsd.org/changeset/base/244389 > M> > M> Log

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

2012-12-18 Thread Andre Oppermann
On 17.12.2012 23:12, Andriy Gapon wrote: on 18/12/2012 00:02 Adrian Chadd said the following: Why are they there, if we just ship production releases with INVARIANTS disabled? Because there is an axis orthogonal to asserting correctness - performance. Indeed. There are, or will be, a couple

Re: svn commit: r244387 - head/sys/netinet

2012-12-18 Thread Andre Oppermann
On 18.12.2012 09:24, Gleb Smirnoff wrote: Andrey, On Tue, Dec 18, 2012 at 08:14:16AM +, Gleb Smirnoff wrote: T> Author: glebius T> Date: Tue Dec 18 08:14:16 2012 T> New Revision: 244387 T> URL: http://svnweb.freebsd.org/changeset/base/244387 T> T> Log: T> Fix !INET6 build after r244365.

Re: svn commit: r244389 - head/sys/dev/wtap

2012-12-18 Thread Gleb Smirnoff
On Tue, Dec 18, 2012 at 12:30:53PM +0100, Monthadar Al Jaberi wrote: M> On Tue, Dec 18, 2012 at 9:53 AM, Gleb Smirnoff wrote: M> > Monthadar, M> > M> > On Tue, Dec 18, 2012 at 08:44:59AM +, Monthadar Al Jaberi wrote: M> > M> Author: monthadar M> > M> Date: Tue Dec 18 08:44:59 2012 M> > M> Ne

svn commit: r244397 - stable/9/contrib/openbsm/bin/auditdistd

2012-12-18 Thread Robert Watson
Author: rwatson Date: Tue Dec 18 14:31:55 2012 New Revision: 244397 URL: http://svnweb.freebsd.org/changeset/base/244397 Log: Apply minor local adjustment to OpenBSM's parse.y due to differences in Yacc between 10-CURRENT and 9-STABLE; this will allow the soon-to-be-connected auditdistd to b

svn commit: r244398 - in stable/9: etc/defaults etc/mtree etc/rc.d share/man/man4 usr.sbin usr.sbin/auditdistd

2012-12-18 Thread Robert Watson
Author: rwatson Date: Tue Dec 18 14:32:53 2012 New Revision: 244398 URL: http://svnweb.freebsd.org/changeset/base/244398 Log: Merge r244181 from head to stable/9: Fix the location of auditdistd configuration file. Reported by:Johan Hendriks Merge remaining unmerged portio

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

2012-12-18 Thread Ivan Voras
On 18 December 2012 08:36, Andrey Zonov wrote: > Author: zont > Date: Tue Dec 18 07:36:45 2012 > New Revision: 244385 > URL: http://svnweb.freebsd.org/changeset/base/244385 > > Log: > - Add sysctl to allow unprivileged users to call mlock(2)-family system > calls and turn it on. > - Do not

svn commit: r244399 - head/sys/dev/wtap

2012-12-18 Thread Monthadar Al Jaberi
Author: monthadar Date: Tue Dec 18 16:11:13 2012 New Revision: 244399 URL: http://svnweb.freebsd.org/changeset/base/244399 Log: wtap fix malloc/free. * Remove malloc/free pointer cast; * Check return value from malloc; Submitted by: glebius Approved by: adrian (mentor) Modified:

svn commit: r244400 - head/sys/dev/wtap

2012-12-18 Thread Monthadar Al Jaberi
Author: monthadar Date: Tue Dec 18 16:15:20 2012 New Revision: 244400 URL: http://svnweb.freebsd.org/changeset/base/244400 Log: wtap should not set the IEEE80211_F_DATAPAD flag; Approved by: adrian (mentor) Modified: head/sys/dev/wtap/if_wtap.c Modified: head/sys/dev/wtap/if_wtap.c

Re: svn commit: r244389 - head/sys/dev/wtap

2012-12-18 Thread Monthadar Al Jaberi
On Tue, Dec 18, 2012 at 2:13 PM, Gleb Smirnoff wrote: > On Tue, Dec 18, 2012 at 12:30:53PM +0100, Monthadar Al Jaberi wrote: > M> On Tue, Dec 18, 2012 at 9:53 AM, Gleb Smirnoff wrote: > M> > Monthadar, > M> > > M> > On Tue, Dec 18, 2012 at 08:44:59AM +, Monthadar Al Jaberi wrote: > M> > M>

svn commit: r244401 - in head: contrib/libc-vis include lib/libc/gen

2012-12-18 Thread Brooks Davis
Author: brooks Date: Tue Dec 18 16:37:24 2012 New Revision: 244401 URL: http://svnweb.freebsd.org/changeset/base/244401 Log: Replace our implementation of the vis(3) and unvis(3) APIs with NetBSD's. This output size limited versions of vis and unvis functions as well as a set of vis variant

svn commit: r244403 - svnadmin/conf

2012-12-18 Thread Ed Maste
Author: emaste Date: Tue Dec 18 18:04:29 2012 New Revision: 244403 URL: http://svnweb.freebsd.org/changeset/base/244403 Log: Welcome Mark Johnston (markj@) as a new src committer. I will be his mentor, with Ryan Stone as co-mentor. Approved by: core Modified: svnadmin/conf/access sv

svn commit: r244404 - head/sys/kern

2012-12-18 Thread Mateusz Guzik
Author: mjg Date: Tue Dec 18 18:34:36 2012 New Revision: 244404 URL: http://svnweb.freebsd.org/changeset/base/244404 Log: prison_racct_detach can be called for not fully initialized jail, so make it check that the jail has racct before doing anything PR: kern/174436 Reviewed by

svn commit: r244405 - head/sys/dev/atkbdc

2012-12-18 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Tue Dec 18 20:02:53 2012 New Revision: 244405 URL: http://svnweb.freebsd.org/changeset/base/244405 Log: psm: Support detection of Synaptics touchpad v7.5 and above Starting with firmware v7.5, the "Read TouchPad Modes" ($01) and "Read Capabilities" ($02) commands ch

Re: svn commit: r244320 - head/sbin/savecore

2012-12-18 Thread John Baldwin
On Sunday, December 16, 2012 6:06:12 pm Pawel Jakub Dawidek wrote: > Author: pjd > Date: Sun Dec 16 23:06:12 2012 > New Revision: 244320 > URL: http://svnweb.freebsd.org/changeset/base/244320 > > Log: > Implement -m option to savecore(8) that allows to limit number of kernel > dumps stored. On

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

2012-12-18 Thread John Baldwin
On Sunday, December 16, 2012 10:05:48 pm Adrian Chadd wrote: > On 16 December 2012 15:32, Navdeep Parhar wrote: > > > >> The status quo _does not change_ by default. > > > > So now we have a knob that could be used to change the behaviour of all > > the KASSERTs in the system; one that hints tha

svn commit: r244406 - in head: share/man/man4 sys/dev/arcmsr

2012-12-18 Thread Xin LI
Author: delphij Date: Tue Dec 18 20:47:23 2012 New Revision: 244406 URL: http://svnweb.freebsd.org/changeset/base/244406 Log: Update arcmsr(4) to vendor version 1.20.00.26, this adds support for their new RAID adapter ARC-1214. Many thanks to Areca for continuing to support FreeBSD.

svn commit: r244407 - in head: tools/regression/usr.bin/printf usr.bin/printf

2012-12-18 Thread Eitan Adler
Author: eadler Date: Tue Dec 18 21:02:38 2012 New Revision: 244407 URL: http://svnweb.freebsd.org/changeset/base/244407 Log: POSIX requires that non-existent or null arguments be treated as if a zero argument were supplied. Add a regression test to catch this case as well. PR:

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

2012-12-18 Thread John Baldwin
On Monday, December 17, 2012 4:21:43 pm Alfred Perlstein wrote: > On 12/17/12 11:39 AM, John Baldwin wrote: > > On Saturday, December 15, 2012 1:04:17 am Bruce Evans wrote: > >> On Fri, 14 Dec 2012, Alfred Perlstein wrote: > >> > >>> On 12/14/12 4:12 PM, Robert Watson wrote: > On Fri, 14 Dec 2

svn commit: r244408 - head/share/mk

2012-12-18 Thread Ed Maste
Author: emaste Date: Tue Dec 18 21:13:03 2012 New Revision: 244408 URL: http://svnweb.freebsd.org/changeset/base/244408 Log: No reason to install debug data with the schg flag Modified: head/share/mk/bsd.lib.mk Modified: head/share/mk/bsd.lib.mk ==

svn commit: r244409 - head/tools/regression/usr.bin/printf

2012-12-18 Thread Eitan Adler
Author: eadler Date: Tue Dec 18 21:42:45 2012 New Revision: 244409 URL: http://svnweb.freebsd.org/changeset/base/244409 Log: Add an additional regression tests for other cases to ensure these do not get fixed by accident. Modified: head/tools/regression/usr.bin/printf/regress.sh Modified: h

svn commit: r244410 - head/sys/dev/nvme

2012-12-18 Thread Jim Harris
Author: jimharris Date: Tue Dec 18 21:50:48 2012 New Revision: 244410 URL: http://svnweb.freebsd.org/changeset/base/244410 Log: Do not use taskqueue to defer completion work when using INTx. INTx now matches MSI-X behavior. Sponsored by: Intel Modified: head/sys/dev/nvme/nvme.c head

svn commit: r244411 - head/sys/dev/nvme

2012-12-18 Thread Jim Harris
Author: jimharris Date: Tue Dec 18 22:10:40 2012 New Revision: 244411 URL: http://svnweb.freebsd.org/changeset/base/244411 Log: Simplify module definition by adding nvme_modevent to DRIVER_MODULE() definition. Submitted by: Carl Delsey Modified: head/sys/dev/nvme/nvme.c Modified: h

svn commit: r244412 - head/sys/arm/broadcom/bcm2835

2012-12-18 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Dec 18 22:18:54 2012 New Revision: 244412 URL: http://svnweb.freebsd.org/changeset/base/244412 Log: Add sysctls for changing GPIO pins function Submitted by: Luiz Otavio O Souza Modified: head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c Modified: head/sys/arm/broadco

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

2012-12-18 Thread Alfred Perlstein
On 12/18/12 12:37 PM, John Baldwin wrote: On Monday, December 17, 2012 4:21:43 pm Alfred Perlstein wrote: On 12/17/12 11:39 AM, John Baldwin wrote: On Saturday, December 15, 2012 1:04:17 am Bruce Evans wrote: On Fri, 14 Dec 2012, Alfred Perlstein wrote: On 12/14/12 4:12 PM, Robert Watson wro

svn commit: r244413 - head/sys/dev/nvme

2012-12-18 Thread Jim Harris
Author: jimharris Date: Tue Dec 18 23:27:18 2012 New Revision: 244413 URL: http://svnweb.freebsd.org/changeset/base/244413 Log: Map BAR 4/5, because NVMe spec says devices may place the MSI-X table behind BAR 4/5, rather than in BAR 0/1 with the control/doorbell registers. Sponsored by: I

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

2012-12-18 Thread Andriy Gapon
on 19/12/2012 00:31 Alfred Perlstein said the following: > Yes, that happens when they run -stable. Does it? Do you have a solution? [*] [*] - which doesn't involve "it runs so slow I am switching to Y". -- Andriy Gapon ___ svn-src-all@freebsd.org mai

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

2012-12-18 Thread Alfred Perlstein
On 12/18/12 2:41 PM, Andriy Gapon wrote: on 19/12/2012 00:31 Alfred Perlstein said the following: Yes, that happens when they run -stable. Does it? Do you have a solution? [*] [*] - which doesn't involve "it runs so slow I am switching to Y". I already suggested that we copy from KTR so tha

svn commit: r244414 - in head/sys/arm: arm include

2012-12-18 Thread Olivier Houchard
Author: cognet Date: Wed Dec 19 00:24:31 2012 New Revision: 244414 URL: http://svnweb.freebsd.org/changeset/base/244414 Log: Properly implement pmap_[get|set]_memattr Submitted by: Ian Lepore Modified: head/sys/arm/arm/pmap-v6.c head/sys/arm/arm/pmap.c head/sys/arm/include/pmap.h

svn commit: r244415 - head/share/misc

2012-12-18 Thread Mark Johnston
Author: markj Date: Wed Dec 19 04:18:21 2012 New Revision: 244415 URL: http://svnweb.freebsd.org/changeset/base/244415 Log: Add myself as a new src committer. Approved by: emaste (co-mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot =

svn commit: r244416 - stable/9/sys/kern

2012-12-18 Thread Konstantin Belousov
Author: kib Date: Wed Dec 19 04:24:11 2012 New Revision: 244416 URL: http://svnweb.freebsd.org/changeset/base/244416 Log: MFC r243901: Fixes to ensure the integrity of the callwheel tailqs. MFC r243912 (by attilio): Rearrange comments, use cached callout flags when callout could have

svn commit: r244417 - head/sys/mips/include

2012-12-18 Thread Alan Cox
Author: alc Date: Wed Dec 19 05:07:27 2012 New Revision: 244417 URL: http://svnweb.freebsd.org/changeset/base/244417 Log: Eliminate some definitions that haven't been used in a decade or more. Modified: head/sys/mips/include/param.h Modified: head/sys/mips/include/param.h ===