diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-09-07 15:33:46 -0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-09-09 13:48:45 +0200 |
commit | 33a12b5540b8abbc4ee0ecb3a51912b3c7868517 (patch) | |
tree | 399a161fa8ae09eab39c25f17686c496a05b9b2b /extra | |
parent | 7efe10ec5fc772f5328b35ba6716bde815212b45 (diff) |
libc: add fallocate() and fallocate64()
We add the Linux-specific function fallocate() which allows the user to
directly manipulate allocate space for a file. fallocate() can operate
in different modes, but the default mode is equivalent to posix_fallocate()
which is specified in POSIX.1.
Recent releases of e2fsprogs 1.42.11 and above expect fallocate64() to be
available.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'extra')
-rw-r--r-- | extra/Configs/Config.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 778900269..0f68a9b2e 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -1014,8 +1014,8 @@ config UCLIBC_LINUX_SPECIFIC default y help accept4(), bdflush(), - capget(), capset(), eventfd(), fstatfs(), - inotify_*(), ioperm(), iopl(), + capget(), capset(), eventfd(), fallocate(), + fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(), pipe2(), personality(), prctl()/arch_prctl(), pivot_root(), modify_ldt(), ppoll(), readahead(), reboot(), remap_file_pages(), |