From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20829 invoked by alias); 16 Dec 2012 15:38:22 -0000 Received: (qmail 20759 invoked by uid 48); 16 Dec 2012 15:38:09 -0000 From: "mtk.manpages at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/14964] New: Constants for Linux fallocate() are not defined Date: Sun, 16 Dec 2012 15:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mtk.manpages at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-12/txt/msg00132.txt.bz2 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.