summaryrefslogtreecommitdiffstats
path: root/sys/conf/options
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-08-23 20:32:21 +0000
committerjhb <jhb@FreeBSD.org>2001-08-23 20:32:21 +0000
commit1383792740ea5dc3ab1c1a913165d848ce096ec5 (patch)
treeeb02f1d61fe71a6ec8e8fa4fd35a2552a741e661 /sys/conf/options
parent7e0c531a0d012f6d90bbc79927113ac769205d70 (diff)
downloadFreeBSD-src-1383792740ea5dc3ab1c1a913165d848ce096ec5.zip
FreeBSD-src-1383792740ea5dc3ab1c1a913165d848ce096ec5.tar.gz
Add a new kernel option RESTARTABLE_PANICS. If this option is present,
then one can restart from a panic by resetting the panicstr variable to NULL. This commit conditionalizes the previously committed functionality on this variable. It also removes the __dead2 attribute from the panic() function so that when one continues from a panic() the behavior will be predictable.
Diffstat (limited to 'sys/conf/options')
-rw-r--r--sys/conf/options1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/options b/sys/conf/options
index 6e62f52..f43d3d6 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -387,6 +387,7 @@ ENABLE_VFS_IOOPT opt_global.h
INVARIANT_SUPPORT opt_global.h
INVARIANTS opt_global.h
REGRESSION opt_global.h
+RESTARTABLE_PANICS opt_global.h
SIMPLELOCK_DEBUG opt_global.h
VFS_BIO_DEBUG opt_global.h
OpenPOWER on IntegriCloud