This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14964] New: Constants for Linux fallocate() are not defined
- From: "mtk.manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 16 Dec 2012 15:38:09 +0000
- Subject: [Bug libc/14964] New: Constants for Linux fallocate() are not defined
- Auto-submitted: auto-generated
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.