posix_fallocate: Emulation fixes and documentation [BZ #15661]
authorFlorian Weimer <fweimer@redhat.com>
Fri, 5 Jun 2015 08:50:38 +0000 (10:50 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 5 Jun 2015 08:50:38 +0000 (10:50 +0200)
commit7fe9e2e089f4990b7d18d0798f591ab276b15f2b
tree115ae278db2568e0e194e92cbefca1efc16208d0
parentc6bb095eb544aa32d3f4b8e9aa434d686915446e
posix_fallocate: Emulation fixes and documentation [BZ #15661]

Handle signed integer overflow correctly.  Detect and reject O_APPEND.
Document drawbacks of emulation.

This does not completely address bug 15661, but improves the situation
somewhat.
ChangeLog
manual/filesys.texi
sysdeps/posix/posix_fallocate.c
sysdeps/posix/posix_fallocate64.c