From: Michalis Pappas Date: Thu, 28 Dec 2023 09:57:35 +0000 (+0100) Subject: lib/posix-process: Add config option for POSIX signals X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3f9088edd01b80376903e123db32035053f91d7f;p=unikraft%2Funikraft.git lib/posix-process: Add config option for POSIX signals Add CONFIG_LIBPOSIX_PROCESS_SIGNALS to enable POSIX signals. If that option is not enabled, the implementation will fall back to stubs. Signed-off-by: Michalis Pappas Reviewed-by: Ioan-Teodor Teugea Reviewed-by: Sergiu Moga Reviewed-by: Andrei Tatar Approved-by: Andrei Tatar GitHub-Closes: #1248 --- diff --git a/lib/posix-process/Config.uk b/lib/posix-process/Config.uk index 953205b5a..a4cd42fbb 100644 --- a/lib/posix-process/Config.uk +++ b/lib/posix-process/Config.uk @@ -20,6 +20,11 @@ config LIBPOSIX_PROCESS_INIT_PIDS endif +config LIBPOSIX_PROCESS_SIGNAL + bool "POSIX signals (EXPERIMENTAL)" + select LIBPOSIX_PROCESS_PIDS + select LIBSYSCALL_SHIM + config LIBPOSIX_PROCESS_CLONE bool "clone() system call" select LIBPOSIX_PROCESS_PIDS