This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/14964] New: Constants for Linux fallocate() are not defined


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

             Bug #: 14964
           Summary: Constants for Linux fallocate() are not defined
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: mtk.manpages@gmail.com
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


As a result of http://www.sourceware.org/bugzilla/show_bug.cgi?id=7083 , glibc
added support for the Linux fallocate() system call. However, the constants
needed for the 'mode' argument argument are missing from header files. That is,
bits/fcntl.h lacks the following definitions (from the Linux kernel source file
include/uapi/linux/falloc.h):

#define FALLOC_FL_KEEP_SIZE     0x01 /* default is extend size */
#define FALLOC_FL_PUNCH_HOLE    0x02 /* de-allocates range */

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]