Red Hat Bugzilla – Bug 485487
RFE: System call fallocate(2) not fully available
Last modified: 2016-11-24 11:16:22 EST
Created attachment 331855 [details]
Simple test application
Description of problem:
The Linux system call fallocate(2) has an additional 'mode' argument that posix_fallocate(2) does not have.
While glibc does call sys_fallocate internally (if available), it does not fully export fallocate(2) to userspace.
Request that fallocate(2) be fully exported to userspace, both in #include headers as well as a linkable glibc stub.
Version-Release number of selected component (if applicable):
(but I also looked in glibc cvs, main branch)
Steps to Reproduce:
1. Build app according to fallocate(2) man page.
2. Compile app, watch it produce warnings and fail to link.
Successful call to fallocate(2).
glibc-2.9.90-10 exports fallocate.