aboutsummaryrefslogtreecommitdiffstats
path: root/arch/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig55
1 files changed, 55 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 0a3ffe46e567..8c3d957fa8e2 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -76,6 +76,23 @@ config OPTPROBES
76 depends on KPROBES && HAVE_OPTPROBES 76 depends on KPROBES && HAVE_OPTPROBES
77 depends on !PREEMPT 77 depends on !PREEMPT
78 78
79config UPROBES
80 bool "Transparent user-space probes (EXPERIMENTAL)"
81 depends on UPROBE_EVENT && PERF_EVENTS
82 default n
83 help
84 Uprobes is the user-space counterpart to kprobes: they
85 enable instrumentation applications (such as 'perf probe')
86 to establish unintrusive probes in user-space binaries and
87 libraries, by executing handler functions when the probes
88 are hit by user-space applications.
89
90 ( These probes come in the form of single-byte breakpoints,
91 managed by the kernel and kept transparent to the probed
92 application. )
93
94 If in doubt, say "N".
95
79config HAVE_EFFICIENT_UNALIGNED_ACCESS 96config HAVE_EFFICIENT_UNALIGNED_ACCESS
80 bool 97 bool
81 help 98 help
@@ -148,6 +165,21 @@ config HAVE_DMA_CONTIGUOUS
148config USE_GENERIC_SMP_HELPERS 165config USE_GENERIC_SMP_HELPERS
149 bool 166 bool
150 167
168config GENERIC_SMP_IDLE_THREAD
169 bool
170
171# Select if arch init_task initializer is different to init/init_task.c
172config ARCH_INIT_TASK
173 bool
174
175# Select if arch has its private alloc_task_struct() function
176config ARCH_TASK_STRUCT_ALLOCATOR
177 bool
178
179# Select if arch has its private alloc_thread_info() function
180config ARCH_THREAD_INFO_ALLOCATOR
181 bool
182
151config HAVE_REGS_AND_STACK_ACCESS_API 183config HAVE_REGS_AND_STACK_ACCESS_API
152 bool 184 bool
153 help 185 help
@@ -219,4 +251,27 @@ config HAVE_CMPXCHG_DOUBLE
219config ARCH_WANT_OLD_COMPAT_IPC 251config ARCH_WANT_OLD_COMPAT_IPC
220 bool 252 bool
221 253
254config HAVE_ARCH_SECCOMP_FILTER
255 bool
256 help
257 An arch should select this symbol if it provides all of these things:
258 - syscall_get_arch()
259 - syscall_get_arguments()
260 - syscall_rollback()
261 - syscall_set_return_value()
262 - SIGSYS siginfo_t support
263 - secure_computing is called from a ptrace_event()-safe context
264 - secure_computing return value is checked and a return value of -1
265 results in the system call being skipped immediately.
266
267config SECCOMP_FILTER
268 def_bool y
269 depends on HAVE_ARCH_SECCOMP_FILTER && SECCOMP && NET
270 help
271 Enable tasks to build secure computing environments defined
272 in terms of Berkeley Packet Filter programs which implement
273 task-defined system call filtering polices.
274
275 See Documentation/prctl/seccomp_filter.txt for details.
276
222source "kernel/gcov/Kconfig" 277source "kernel/gcov/Kconfig"