[CRIU] [PATCH 1/2] don't assume the kernel has CONFIG_SECCOMP

Pavel Emelyanov xemul at parallels.com
Tue Jul 14 04:13:09 PDT 2015


> diff --git a/scripts/feature-tests.mak b/scripts/feature-tests.mak
> index ec7972a..519eb52 100644
> --- a/scripts/feature-tests.mak
> +++ b/scripts/feature-tests.mak
> @@ -92,14 +92,3 @@ int main(int argc, char *argv[], char *envp[])
>  }
>  
>  endef
> -
> -define PTRACE_SUSPEND_SECCOMP_TEST

Shouldn't the respective line also be removed from Makefile.config?

> -
> -#include <linux/ptrace.h>
> -
> -int main(void)
> -{
> -	return PTRACE_O_SUSPEND_SECCOMP;
> -}
> -
> -endef



More information about the CRIU mailing list