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.
This commit is contained in:
attilio 2012-03-06 20:01:25 +00:00
parent 7378e795d9
commit 9906b913d9
9 changed files with 4 additions and 22 deletions

View File

@ -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,

View File

@ -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

View File

@ -9,5 +9,3 @@ device mem
options GEOM_PART_BSD
options GEOM_PART_MBR
options VFS_ALLOW_NONMPSAFE

View File

@ -30,6 +30,3 @@ options NATIVE
device atpic
options NEW_PCIB
# Allow mounting non-MPSAFE filesystems
options VFS_ALLOW_NONMPSAFE

View File

@ -20,6 +20,3 @@ options GEOM_PART_GPT
options GEOM_PART_MBR
options NEW_PCIB
# Allow mounting non-MPSAFE filesystems
options VFS_ALLOW_NONMPSAFE

View File

@ -9,5 +9,3 @@ device uart_ns8250
options GEOM_PART_BSD
options GEOM_PART_MBR
options VFS_ALLOW_NONMPSAFE

View File

@ -29,6 +29,3 @@ options GEOM_PART_PC98
device atpic
options NEW_PCIB
# Allow mounting non-MPSAFE filesystems
options VFS_ALLOW_NONMPSAFE

View File

@ -14,6 +14,3 @@ options GEOM_PART_APM
options GEOM_PART_MBR
options NEW_PCIB
# Allow mounting non-MPSAFE filesystems
options VFS_ALLOW_NONMPSAFE

View File

@ -21,6 +21,3 @@ options GEOM_PART_VTOC8
options SUNKBD_EMULATE_ATKBD
options NEW_PCIB
# Allow mounting non-MPSAFE filesystems
options VFS_ALLOW_NONMPSAFE