← Commit list

6a9799020

Eric Andersen
Eric Andersen
2002-09-30
FAILED Duration: 6s

Subject

Set the close-on-exec flag, just to be saf

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+2 -0
@@ -232,6 +232,8 @@ static void message(int device, char *fmt, ...)
log_fd = -2;
fprintf(stderr, "Bummer, can't write to log on %s!\n", log);
device = CONSOLE;
+ } else {
+ fcntl(log_fd, F_SETFD, FD_CLOEXEC);
}
}
if ((device & LOG) && (log_fd >= 0)) {