From: Andrei Tatar Date: Mon, 24 Feb 2025 11:18:16 +0000 (+0100) Subject: Config.uk: Add posix-tty as dependency to stdio X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fb1a30557992773beade4e37413df1355edf0c4b;p=unikraft%2Flibs%2Fmusl.git Config.uk: Add posix-tty as dependency to stdio This change adds an explicit dependency on posix-tty and its STDIO option for when the libstdio sub-lib of musl is enabled. This makes musl's assumption that fds 0, 1, 2 be opened to something meaningful an explicit configuration requirement on the kernel. Signed-off-by: Andrei Tatar Reviewed-by: Stefan Jumarea Reviewed-by: Razvan Deaconescu Approved-by: Razvan Deaconescu GitHub-Closes: #85 --- diff --git a/Config.uk b/Config.uk index f44d5a0..59639e4 100644 --- a/Config.uk +++ b/Config.uk @@ -189,6 +189,8 @@ config LIBMUSL_STDIO default y select LIBMUSL_FENV select LIBMUSL_UNISTD + select LIBPOSIX_TTY + select LIBPOSIX_TTY_STDIO config LIBMUSL_STDLIB bool "libstdlib"