diff options
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 55 |
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 | ||
79 | config 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 | |||
79 | config HAVE_EFFICIENT_UNALIGNED_ACCESS | 96 | config HAVE_EFFICIENT_UNALIGNED_ACCESS |
80 | bool | 97 | bool |
81 | help | 98 | help |
@@ -148,6 +165,21 @@ config HAVE_DMA_CONTIGUOUS | |||
148 | config USE_GENERIC_SMP_HELPERS | 165 | config USE_GENERIC_SMP_HELPERS |
149 | bool | 166 | bool |
150 | 167 | ||
168 | config GENERIC_SMP_IDLE_THREAD | ||
169 | bool | ||
170 | |||
171 | # Select if arch init_task initializer is different to init/init_task.c | ||
172 | config ARCH_INIT_TASK | ||
173 | bool | ||
174 | |||
175 | # Select if arch has its private alloc_task_struct() function | ||
176 | config ARCH_TASK_STRUCT_ALLOCATOR | ||
177 | bool | ||
178 | |||
179 | # Select if arch has its private alloc_thread_info() function | ||
180 | config ARCH_THREAD_INFO_ALLOCATOR | ||
181 | bool | ||
182 | |||
151 | config HAVE_REGS_AND_STACK_ACCESS_API | 183 | config HAVE_REGS_AND_STACK_ACCESS_API |
152 | bool | 184 | bool |
153 | help | 185 | help |
@@ -219,4 +251,27 @@ config HAVE_CMPXCHG_DOUBLE | |||
219 | config ARCH_WANT_OLD_COMPAT_IPC | 251 | config ARCH_WANT_OLD_COMPAT_IPC |
220 | bool | 252 | bool |
221 | 253 | ||
254 | config 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 | |||
267 | config 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 | |||
222 | source "kernel/gcov/Kconfig" | 277 | source "kernel/gcov/Kconfig" |