[Bug 5984] New: Enable UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE by default

bugzilla at busybox.net bugzilla at busybox.net
Wed Feb 27 23:35:56 UTC 2013


           Summary: Enable UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE by default
           Product: uClibc
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: stdio
        AssignedTo: unassigned at uclibc.org
        ReportedBy: noloader at gmail.com
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0

The description is below, but I believe its not quite correct.
C11 adds the "x" mode, so its not a glibc thing anymore. See, for example,

I understand uClibc may not be C11 compliant (and may not even desire it). But
"x" mode has security implications, and claiming its a compat option may not be
doing it justice.

   ───── Support an fopen() 'x' flag for exclusive mode (glibc-compat) ─────┐
  │ UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE:                                        │  
  │                                                                         │  
  │ Answer Y to support a glibc extension to allow passing                  │  
  │ additional 'x' flag in the mode string for fopen() to specify that      │  
  │ the file should be open()ed with the O_EXCL flag set.                   │  
  │                                                                         │  
  │ Most people will answer N.                                              │  
  │                                                                         │  
  │ Symbol: UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE [=y]                            │  
  │ Prompt: Support an fopen() 'x' flag for exclusive mode (glibc-compat)   │  
  │   Defined at extra/Configs/Config.in:1728                               │  
  │   Location:                                                             │  
  │     -> String and Stdio Support

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the uClibc-cvs mailing list