From: Cyrill Gorcunov Date: Fri, 13 Jan 2012 01:20:49 +0000 (-0800) Subject: c/r: introduce CHECKPOINT_RESTORE symbol X-Git-Tag: v3.3-rc1~81^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=067bce1a06c1f84146f873a598cd7c3a28eee1d5;p=platform%2Fkernel%2Flinux-stable.git c/r: introduce CHECKPOINT_RESTORE symbol For checkpoint/restore we need auxilary features being compiled into the kernel, such as additional prctl codes, /proc//map_files and etc... but same time these features are not mandatory for a regular kernel so CHECKPOINT_RESTORE config symbol should bring a way to disable them all at once if one wish to get rid of additional functionality. Signed-off-by: Cyrill Gorcunov Cc: Tejun Heo Cc: Andrew Vagin Cc: Serge Hallyn Cc: Vasiliy Kulikov Reviewed-by: Kees Cook Cc: KAMEZAWA Hiroyuki Cc: Alexey Dobriyan Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/init/Kconfig b/init/Kconfig index 018d206..6ac2236 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -783,6 +783,17 @@ config DEBUG_BLK_CGROUP endif # CGROUPS +config CHECKPOINT_RESTORE + bool "Checkpoint/restore support" if EXPERT + default n + help + Enables additional kernel features in a sake of checkpoint/restore. + In particular it adds auxiliary prctl codes to setup process text, + data and heap segment sizes, and a few additional /proc filesystem + entries. + + If unsure, say N here. + menuconfig NAMESPACES bool "Namespaces support" if EXPERT default !EXPERT