From f51c6838ac02725e6928ac0aa4d8c312dd0e86a7 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Fri, 2 Dec 2022 23:03:29 +0100 Subject: [PATCH] Assume SIGTTOU is defined MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is required by POSIX.1-2001. Cc: Christian Göttsche Signed-off-by: Alejandro Colomar --- libmisc/pwd_init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libmisc/pwd_init.c b/libmisc/pwd_init.c index 6452f029..b3f94e1b 100644 --- a/libmisc/pwd_init.c +++ b/libmisc/pwd_init.c @@ -50,9 +50,7 @@ void pwd_init (void) signal (SIGQUIT, SIG_IGN); signal (SIGTERM, SIG_IGN); signal (SIGTSTP, SIG_IGN); -#ifdef SIGTTOU signal (SIGTTOU, SIG_IGN); -#endif umask (077); }