Restartable sequences system call (v8)
[deliverable/linux.git] / arch / Kconfig
index bd8056b5b246058a8c06190811f875a00f30df8d..28c4fda0d15612cabd70a17feda9fd163b92a9d5 100644 (file)
@@ -242,6 +242,13 @@ config HAVE_REGS_AND_STACK_ACCESS_API
          declared in asm/ptrace.h
          For example the kprobes-based event tracer needs this API.
 
+config HAVE_RSEQ
+       bool
+       depends on HAVE_REGS_AND_STACK_ACCESS_API
+       help
+         This symbol should be selected by an architecture if it
+         supports an implementation of restartable sequences.
+
 config HAVE_CLK
        bool
        help
@@ -461,6 +468,15 @@ config CC_STACKPROTECTOR_STRONG
 
 endchoice
 
+config HAVE_ARCH_WITHIN_STACK_FRAMES
+       bool
+       help
+         An architecture should select this if it can walk the kernel stack
+         frames to determine if an object is part of either the arguments
+         or local variables (i.e. that it excludes saved return addresses,
+         and similar) by implementing an inline arch_within_stack_frames(),
+         which is used by CONFIG_HARDENED_USERCOPY.
+
 config HAVE_CONTEXT_TRACKING
        bool
        help
This page took 0.026507 seconds and 5 git commands to generate.