summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2012-03-06 20:01:25 +0000
committerattilio <attilio@FreeBSD.org>2012-03-06 20:01:25 +0000
commit9906b913d94518630c70e4da3cbcb4e7a5aab808 (patch)
tree13aab0c5dc6d9789fd69c4db66972f65bcb8cd65
parent7378e795d9c7d5d6c13b62300ecb6454e34aa4f9 (diff)
downloadFreeBSD-src-9906b913d94518630c70e4da3cbcb4e7a5aab808.zip
FreeBSD-src-9906b913d94518630c70e4da3cbcb4e7a5aab808.tar.gz
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.
-rw-r--r--UPDATING4
-rw-r--r--sys/amd64/conf/DEFAULTS3
-rw-r--r--sys/arm/conf/DEFAULTS2
-rw-r--r--sys/i386/conf/DEFAULTS3
-rw-r--r--sys/ia64/conf/DEFAULTS3
-rw-r--r--sys/mips/conf/DEFAULTS2
-rw-r--r--sys/pc98/conf/DEFAULTS3
-rw-r--r--sys/powerpc/conf/DEFAULTS3
-rw-r--r--sys/sparc64/conf/DEFAULTS3
9 files changed, 4 insertions, 22 deletions
diff --git a/UPDATING b/UPDATING
index edb8d76..c48fec9 100644
--- a/UPDATING
+++ b/UPDATING
@@ -22,6 +22,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10.x IS SLOW:
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,
diff --git a/sys/amd64/conf/DEFAULTS b/sys/amd64/conf/DEFAULTS
index e39a9e4..2c221cb 100644
--- a/sys/amd64/conf/DEFAULTS
+++ b/sys/amd64/conf/DEFAULTS
@@ -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
diff --git a/sys/arm/conf/DEFAULTS b/sys/arm/conf/DEFAULTS
index 3546d4e..591a0a1 100644
--- a/sys/arm/conf/DEFAULTS
+++ b/sys/arm/conf/DEFAULTS
@@ -9,5 +9,3 @@ device mem
options GEOM_PART_BSD
options GEOM_PART_MBR
-
-options VFS_ALLOW_NONMPSAFE
diff --git a/sys/i386/conf/DEFAULTS b/sys/i386/conf/DEFAULTS
index 1c5cd96..78d807c 100644
--- a/sys/i386/conf/DEFAULTS
+++ b/sys/i386/conf/DEFAULTS
@@ -30,6 +30,3 @@ options NATIVE
device atpic
options NEW_PCIB
-
-# Allow mounting non-MPSAFE filesystems
-options VFS_ALLOW_NONMPSAFE
diff --git a/sys/ia64/conf/DEFAULTS b/sys/ia64/conf/DEFAULTS
index e31e26b..a3e10d6 100644
--- a/sys/ia64/conf/DEFAULTS
+++ b/sys/ia64/conf/DEFAULTS
@@ -20,6 +20,3 @@ options GEOM_PART_GPT
options GEOM_PART_MBR
options NEW_PCIB
-
-# Allow mounting non-MPSAFE filesystems
-options VFS_ALLOW_NONMPSAFE
diff --git a/sys/mips/conf/DEFAULTS b/sys/mips/conf/DEFAULTS
index f015e89..f09ef54 100644
--- a/sys/mips/conf/DEFAULTS
+++ b/sys/mips/conf/DEFAULTS
@@ -9,5 +9,3 @@ device uart_ns8250
options GEOM_PART_BSD
options GEOM_PART_MBR
-
-options VFS_ALLOW_NONMPSAFE
diff --git a/sys/pc98/conf/DEFAULTS b/sys/pc98/conf/DEFAULTS
index 342a604..6c8b561 100644
--- a/sys/pc98/conf/DEFAULTS
+++ b/sys/pc98/conf/DEFAULTS
@@ -29,6 +29,3 @@ options GEOM_PART_PC98
device atpic
options NEW_PCIB
-
-# Allow mounting non-MPSAFE filesystems
-options VFS_ALLOW_NONMPSAFE
diff --git a/sys/powerpc/conf/DEFAULTS b/sys/powerpc/conf/DEFAULTS
index c55560b..4faf6c1 100644
--- a/sys/powerpc/conf/DEFAULTS
+++ b/sys/powerpc/conf/DEFAULTS
@@ -14,6 +14,3 @@ options GEOM_PART_APM
options GEOM_PART_MBR
options NEW_PCIB
-
-# Allow mounting non-MPSAFE filesystems
-options VFS_ALLOW_NONMPSAFE
diff --git a/sys/sparc64/conf/DEFAULTS b/sys/sparc64/conf/DEFAULTS
index f1305a8..c99480c 100644
--- a/sys/sparc64/conf/DEFAULTS
+++ b/sys/sparc64/conf/DEFAULTS
@@ -21,6 +21,3 @@ options GEOM_PART_VTOC8
options SUNKBD_EMULATE_ATKBD
options NEW_PCIB
-
-# Allow mounting non-MPSAFE filesystems
-options VFS_ALLOW_NONMPSAFE
OpenPOWER on IntegriCloud