← Commit list

a34b8a4d3

Denis Vlasenko
Denis Vlasenko
2008-11-29
FAILED Duration: 28s

Subject

init: O_NONBLOCK needs more thought. reverted for now

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

init/init.c+3 -2
@@ -209,8 +209,9 @@ static void console_init(void)
/* Make sure fd 0,1,2 are not closed
* (so that they won't be used by future opens) */
bb_sanitize_stdio();
- /* Make sure init can't be blocked by writing to stderr */
- fcntl(STDERR_FILENO, F_SETFL, fcntl(STDERR_FILENO, F_GETFL) | O_NONBLOCK);
+// Users report problems
+// /* Make sure init can't be blocked by writing to stderr */
+// fcntl(STDERR_FILENO, F_SETFL, fcntl(STDERR_FILENO, F_GETFL) | O_NONBLOCK);
}
s = getenv("TERM");