|
@@ -104,3 +104,19 @@ config PGTABLE_LEVELS
|
|
|
int
|
|
|
default 3 if 3_LEVEL_PGTABLES
|
|
|
default 2
|
|
|
+
|
|
|
+config SECCOMP
|
|
|
+ def_bool y
|
|
|
+ prompt "Enable seccomp to safely compute untrusted bytecode"
|
|
|
+ ---help---
|
|
|
+ This kernel feature is useful for number crunching applications
|
|
|
+ that may need to compute untrusted bytecode during their
|
|
|
+ execution. By using pipes or other transports made available to
|
|
|
+ the process as file descriptors supporting the read/write
|
|
|
+ syscalls, it's possible to isolate those applications in
|
|
|
+ their own address space using seccomp. Once seccomp is
|
|
|
+ enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
|
|
|
+ and the task is only allowed to execute a few safe syscalls
|
|
|
+ defined by each seccomp mode.
|
|
|
+
|
|
|
+ If unsure, say Y.
|