From: Michalis Pappas Date: Thu, 28 Dec 2023 09:55:29 +0000 (+0100) Subject: lib/posix-process: Fix formatting of Config.uk X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5e29c50b2f58934d5fe1d539459c50e249c0f363;p=unikraft%2Funikraft.git lib/posix-process: Fix formatting of Config.uk Update the indentation of Config.uk to adhere to Unikraft's coding conventions. Remove `default n` items being redundant as `bool` symbols default to `n`. 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 49ea8218a..953205b5a 100644 --- a/lib/posix-process/Config.uk +++ b/lib/posix-process/Config.uk @@ -1,28 +1,27 @@ menuconfig LIBPOSIX_PROCESS bool "posix-process: Process-related functions" - default n select LIBNOLIBC if !HAVE_LIBC if LIBPOSIX_PROCESS - menuconfig LIBPOSIX_PROCESS_PIDS - bool "Process and thread IDs" - default n - select LIBUKSCHED + +menuconfig LIBPOSIX_PROCESS_PIDS + bool "Process and thread IDs" + select LIBUKSCHED if LIBPOSIX_PROCESS_PIDS - config LIBPOSIX_PROCESS_MAX_PID - int "Largest PID" - range 1 32767 - default 31 - - config LIBPOSIX_PROCESS_INIT_PIDS - bool "Assign PID during boot" - default n + +config LIBPOSIX_PROCESS_MAX_PID + int "Largest PID" + range 1 32767 + default 31 + +config LIBPOSIX_PROCESS_INIT_PIDS + bool "Assign PID during boot" + endif config LIBPOSIX_PROCESS_CLONE bool "clone() system call" - default n select LIBPOSIX_PROCESS_PIDS config LIBPOSIX_PROCESS_CLONE_PREFER_CHILD @@ -46,6 +45,5 @@ config LIBPOSIX_PROCESS_VFORK config LIBPOSIX_PROCESS_DEBUG bool "Enable debug messages" - default n endif