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 Rao 2012-03-06 20:01:25 +00:00
parent dae259f8c4
commit 9c170fd168
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232619
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