diff options
author | Florian Weimer <fweimer@redhat.com> | 2015-06-05 10:50:38 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2015-06-05 10:50:38 +0200 |
commit | 7fe9e2e089f4990b7d18d0798f591ab276b15f2b (patch) | |
tree | 115ae278db2568e0e194e92cbefca1efc16208d0 /ChangeLog | |
parent | c6bb095eb544aa32d3f4b8e9aa434d686915446e (diff) | |
download | glibc-7fe9e2e089f4990b7d18d0798f591ab276b15f2b.zip glibc-7fe9e2e089f4990b7d18d0798f591ab276b15f2b.tar.gz glibc-7fe9e2e089f4990b7d18d0798f591ab276b15f2b.tar.bz2 |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2015-06-05 Florian Weimer <fweimer@redhat.com> + + [BZ #15661] + * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64): + Check for overflow properly. Check for O_APPEND. Ignore large + file system block sizes. Add comments about problems. + * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise. + * manual/filesys.texi (Storage Allocation): New node. + 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org> * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define |