From 03b64faacdf1aaa63c2955a0aa6b5678de02d426 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 24 Nov 2023 22:02:08 +0100 Subject: [PATCH] logging: -l passthrough accepts TTYs enable usage also on TTYs, the caller is responsible to use it safely. Signed-off-by: Giuseppe Scrivano --- src/ctr_logging.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ctr_logging.c b/src/ctr_logging.c index e5f03f38..00b61e30 100644 --- a/src/ctr_logging.c +++ b/src/ctr_logging.c @@ -191,9 +191,6 @@ static void parse_log_path(char *log_config) } if (!strcmp(driver, "passthrough")) { - if (isatty(STDIN_FILENO) || isatty(STDOUT_FILENO) || isatty(STDERR_FILENO)) - nexitf("cannot use a tty with passthrough logging mode to prevent attacks via TIOCSTI"); - use_logging_passthrough = TRUE; return; }