public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/27316] New: [linux-only] shm_open should not guess or test for /dev/shm existence
@ 2021-02-02 15:59 crrodriguez at opensuse dot org
  2021-02-02 19:22 ` [Bug libc/27316] " fweimer at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: crrodriguez at opensuse dot org @ 2021-02-02 15:59 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 27316
           Summary: [linux-only] shm_open should not guess or test for
                    /dev/shm existence
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: crrodriguez at opensuse dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Just like the case of /dev/pts that was recently removed, the C library should
not attempt to guess how/what/how /dev/shm is mounted or not. in the rare case
the mount point is not there it should just fail with the error code returned
by open("/dev/shm/name", ....) 

/dev/shm is nowadays always mounted by either the init system, initrd etc.

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

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

* [Bug libc/27316] [linux-only] shm_open should not guess or test for /dev/shm existence
  2021-02-02 15:59 [Bug libc/27316] New: [linux-only] shm_open should not guess or test for /dev/shm existence crrodriguez at opensuse dot org
@ 2021-02-02 19:22 ` fweimer at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fweimer at redhat dot com @ 2021-02-02 19:22 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-
                 CC|                            |fweimer at redhat dot com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
We are effectively tracking this as bug 25383.

*** This bug has been marked as a duplicate of bug 25383 ***

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

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

end of thread, other threads:[~2021-02-02 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 15:59 [Bug libc/27316] New: [linux-only] shm_open should not guess or test for /dev/shm existence crrodriguez at opensuse dot org
2021-02-02 19:22 ` [Bug libc/27316] " fweimer at redhat dot com

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).