From owner-svn-src-head@FreeBSD.ORG Tue Mar 6 20:01:26 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8500B1065672; Tue, 6 Mar 2012 20:01:26 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 72D1D8FC08; Tue, 6 Mar 2012 20:01:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q26K1QRA055255; Tue, 6 Mar 2012 20:01:26 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q26K1Q7R055245; Tue, 6 Mar 2012 20:01:26 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <201203062001.q26K1Q7R055245@svn.freebsd.org> From: Attilio Rao Date: Tue, 6 Mar 2012 20:01:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r232619 - in head: . sys/amd64/conf sys/arm/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/pc98/conf sys/powerpc/conf sys/sparc64/conf X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 20:01:26 -0000 Author: attilio Date: Tue Mar 6 20:01:25 2012 New Revision: 232619 URL: http://svn.freebsd.org/changeset/base/232619 Log: Disable the option VFS_ALLOW_NONMPSAFE by default on all the supported platforms. This will make every attempt to mount a non-mpsafe filesystem to the kernel forbidden, unless it is expressely compiled with VFS_ALLOW_NONMPSAFE option. This patch is part of the effort of killing non-MPSAFE filesystems from the tree. No MFC is expected for this patch. Modified: head/UPDATING head/sys/amd64/conf/DEFAULTS head/sys/arm/conf/DEFAULTS head/sys/i386/conf/DEFAULTS head/sys/ia64/conf/DEFAULTS head/sys/mips/conf/DEFAULTS head/sys/pc98/conf/DEFAULTS head/sys/powerpc/conf/DEFAULTS head/sys/sparc64/conf/DEFAULTS Modified: head/UPDATING ============================================================================== --- head/UPDATING Tue Mar 6 19:46:57 2012 (r232618) +++ head/UPDATING Tue Mar 6 20:01:25 2012 (r232619) @@ -22,6 +22,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10 machines to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +20120306: + Disable by default the option VFS_ALLOW_NONMPSAFE for all supported + platforms. + 20120229: Now unix domain sockets behave "as expected" on nullfs(5). Previously nullfs(5) did not pass through all behaviours to the underlying layer, Modified: head/sys/amd64/conf/DEFAULTS ============================================================================== --- head/sys/amd64/conf/DEFAULTS Tue Mar 6 19:46:57 2012 (r232618) +++ head/sys/amd64/conf/DEFAULTS Tue Mar 6 20:01:25 2012 (r232619) @@ -22,6 +22,3 @@ options GEOM_PART_EBR_COMPAT options GEOM_PART_MBR options NEW_PCIB - -# Allow mounting non-MPSAFE filesystems -options VFS_ALLOW_NONMPSAFE Modified: head/sys/arm/conf/DEFAULTS ============================================================================== --- head/sys/arm/conf/DEFAULTS Tue Mar 6 19:46:57 2012 (r232618) +++ head/sys/arm/conf/DEFAULTS Tue Mar 6 20:01:25 2012 (r232619) @@ -9,5 +9,3 @@ device mem options GEOM_PART_BSD options GEOM_PART_MBR - -options VFS_ALLOW_NONMPSAFE Modified: head/sys/i386/conf/DEFAULTS ============================================================================== --- head/sys/i386/conf/DEFAULTS Tue Mar 6 19:46:57 2012 (r232618) +++ head/sys/i386/conf/DEFAULTS Tue Mar 6 20:01:25 2012 (r232619) @@ -30,6 +30,3 @@ options NATIVE device atpic options NEW_PCIB - -# Allow mounting non-MPSAFE filesystems -options VFS_ALLOW_NONMPSAFE Modified: head/sys/ia64/conf/DEFAULTS ============================================================================== --- head/sys/ia64/conf/DEFAULTS Tue Mar 6 19:46:57 2012 (r232618) +++ head/sys/ia64/conf/DEFAULTS Tue Mar 6 20:01:25 2012 (r232619) @@ -20,6 +20,3 @@ options GEOM_PART_GPT options GEOM_PART_MBR options NEW_PCIB - -# Allow mounting non-MPSAFE filesystems -options VFS_ALLOW_NONMPSAFE Modified: head/sys/mips/conf/DEFAULTS ============================================================================== --- head/sys/mips/conf/DEFAULTS Tue Mar 6 19:46:57 2012 (r232618) +++ head/sys/mips/conf/DEFAULTS Tue Mar 6 20:01:25 2012 (r232619) @@ -9,5 +9,3 @@ device uart_ns8250 options GEOM_PART_BSD options GEOM_PART_MBR - -options VFS_ALLOW_NONMPSAFE Modified: head/sys/pc98/conf/DEFAULTS ============================================================================== --- head/sys/pc98/conf/DEFAULTS Tue Mar 6 19:46:57 2012 (r232618) +++ head/sys/pc98/conf/DEFAULTS Tue Mar 6 20:01:25 2012 (r232619) @@ -29,6 +29,3 @@ options GEOM_PART_PC98 device atpic options NEW_PCIB - -# Allow mounting non-MPSAFE filesystems -options VFS_ALLOW_NONMPSAFE Modified: head/sys/powerpc/conf/DEFAULTS ============================================================================== --- head/sys/powerpc/conf/DEFAULTS Tue Mar 6 19:46:57 2012 (r232618) +++ head/sys/powerpc/conf/DEFAULTS Tue Mar 6 20:01:25 2012 (r232619) @@ -14,6 +14,3 @@ options GEOM_PART_APM options GEOM_PART_MBR options NEW_PCIB - -# Allow mounting non-MPSAFE filesystems -options VFS_ALLOW_NONMPSAFE Modified: head/sys/sparc64/conf/DEFAULTS ============================================================================== --- head/sys/sparc64/conf/DEFAULTS Tue Mar 6 19:46:57 2012 (r232618) +++ head/sys/sparc64/conf/DEFAULTS Tue Mar 6 20:01:25 2012 (r232619) @@ -21,6 +21,3 @@ options GEOM_PART_VTOC8 options SUNKBD_EMULATE_ATKBD options NEW_PCIB - -# Allow mounting non-MPSAFE filesystems -options VFS_ALLOW_NONMPSAFE