]> sourceware.org Git - glibc.git/commit
misc: syslog: Use CLOC_EXEC with _PATH_CONSOLE (BZ #17145)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Sun, 11 Apr 2021 02:29:40 +0000 (23:29 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 15 Apr 2021 14:32:40 +0000 (11:32 -0300)
commit7f3ab33f20f19ad5b8fdd40bd77d35a0da355347
treee4323f5a2d89125fb96b9691d91d85b79740ae33
parentded3cef36135afa3510ce3c12b982f659b8ea244
misc: syslog: Use CLOC_EXEC with _PATH_CONSOLE (BZ #17145)

The syslog open the '/dev/console' for LOG_CONS without O_CLOEXEC,
which might leak in multithread programs that call fork.

Checked on x86_64-linux-gnu.
misc/syslog.c
This page took 0.037885 seconds and 5 git commands to generate.