Re: [PATCH] kcmp: add separate Kconfig symbol for kcmp syscall

From: Randy Dunlap
Date: Fri Jul 10 2020 - 11:51:21 EST


On 7/10/20 12:56 AM, Rasmus Villemoes wrote:
> diff --git a/init/Kconfig b/init/Kconfig
> index 0498af567f70..95e9486d4217 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -1158,9 +1158,20 @@ config NET_NS
>
> endif # NAMESPACES
>
> +config KCMP_SYSCALL
> + bool "kcmp system call"
> + help
> + Enable the kcmp system call, which allows one to determine
> + whether to tasks share various kernel resources, for example

Either s/to/two/ or s/to//
?

> + whether they share address space, or if two file descriptors
> + refer to the same open file description.
> +
> + If unsure, say N.
> +
> config CHECKPOINT_RESTORE
> bool "Checkpoint/restore support"
> select PROC_CHILDREN
> + select KCMP_SYSCALL
> default n
> help
> Enables additional kernel features in a sake of checkpoint/restore.


--
~Randy