public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/10566] New: sys/mount.h does not define MNT_DETACH and MNT_EXPIRE
@ 2009-08-27  9:46 mtk dot manpages at gmail dot com
  2009-08-31 12:05 ` [Bug libc/10566] " drepper at redhat dot com
  0 siblings, 1 reply; 3+ messages in thread
From: mtk dot manpages at gmail dot com @ 2009-08-27  9:46 UTC (permalink / raw)
  To: glibc-bugs

The Linux kernel defines the following unmount() flags (in include/linux/fs.h):

#define MNT_FORCE       0x00000001      /* Attempt to forcibily umount */
#define MNT_DETACH      0x00000002      /* Just detach from the tree */
#define MNT_EXPIRE      0x00000004      /* Mark for expiry */

Glibc exposes the MNT_FORCE flag in <sys/moun.t>, but not the other two flags.

The other two flags are nevertherless useful to userland, and should be defined
in glibc. MNT_DETACH is available since Linux 2.4.11. MNT_EXPIRE is available
since Linux 2.6.11.

-- 
           Summary: sys/mount.h does not define MNT_DETACH and MNT_EXPIRE
           Product: glibc
           Version: 2.10
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: mtk dot manpages at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10566

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/10566] sys/mount.h does not define MNT_DETACH and MNT_EXPIRE
  2009-08-27  9:46 [Bug libc/10566] New: sys/mount.h does not define MNT_DETACH and MNT_EXPIRE mtk dot manpages at gmail dot com
@ 2009-08-31 12:05 ` drepper at redhat dot com
  0 siblings, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2009-08-31 12:05 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2009-08-31 12:05 -------


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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://sourceware.org/bugzilla/show_bug.cgi?id=10566

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/10566] sys/mount.h does not define MNT_DETACH and MNT_EXPIRE
       [not found] <bug-10566-131@http.sourceware.org/bugzilla/>
@ 2014-07-01  6:56 ` fweimer at redhat dot com
  0 siblings, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-07-01  6:56 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              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

end of thread, other threads:[~2014-07-01  6:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-27  9:46 [Bug libc/10566] New: sys/mount.h does not define MNT_DETACH and MNT_EXPIRE mtk dot manpages at gmail dot com
2009-08-31 12:05 ` [Bug libc/10566] " drepper at redhat dot com
     [not found] <bug-10566-131@http.sourceware.org/bugzilla/>
2014-07-01  6:56 ` 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).