public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/17145] New: syslog with LOG_CONS leaks console file descriptor
@ 2014-07-12  1:36 bugdal at aerifal dot cx
  2015-02-18 14:29 ` [Bug libc/17145] " fweimer at redhat dot com
  2021-04-15 14:59 ` adhemerval.zanella at linaro dot org
  0 siblings, 2 replies; 3+ messages in thread
From: bugdal at aerifal dot cx @ 2014-07-12  1:36 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17145

            Bug ID: 17145
           Summary: syslog with LOG_CONS leaks console file descriptor
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: bugdal at aerifal dot cx
                CC: drepper.fsp at gmail dot com

When LOG_CONS is enabled and sending to the logging facility fails, syslog()
opens /dev/console without the O_CLOEXEC flag. Thus a file descriptor to the
console can leak to child processes in multithreaded programs or programs which
fork and exec from signal handlers.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/17145] syslog with LOG_CONS leaks console file descriptor
  2014-07-12  1:36 [Bug libc/17145] New: syslog with LOG_CONS leaks console file descriptor bugdal at aerifal dot cx
@ 2015-02-18 14:29 ` fweimer at redhat dot com
  2021-04-15 14:59 ` adhemerval.zanella at linaro dot org
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2015-02-18 14:29 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17145

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/17145] syslog with LOG_CONS leaks console file descriptor
  2014-07-12  1:36 [Bug libc/17145] New: syslog with LOG_CONS leaks console file descriptor bugdal at aerifal dot cx
  2015-02-18 14:29 ` [Bug libc/17145] " fweimer at redhat dot com
@ 2021-04-15 14:59 ` adhemerval.zanella at linaro dot org
  1 sibling, 0 replies; 3+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2021-04-15 14:59 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17145

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg
   Target Milestone|---                         |2.34
           Assignee|unassigned at sourceware dot org   |adhemerval.zanella at linaro dot o
                   |                            |rg
         Resolution|---                         |FIXED

--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Fixed on 2.34.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-15 14:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-12  1:36 [Bug libc/17145] New: syslog with LOG_CONS leaks console file descriptor bugdal at aerifal dot cx
2015-02-18 14:29 ` [Bug libc/17145] " fweimer at redhat dot com
2021-04-15 14:59 ` adhemerval.zanella at linaro dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).