diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-04-26 23:42:25 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-04-26 23:42:25 +0200 |
commit | f2d22b3bab4de4b20c857bf6f0191fb6c000fd14 (patch) | |
tree | 9b01cc0483fcfc1233a80497b3620116dca31171 /libshouldbeinlibc | |
parent | f4d6b646a1aa6f8e489dd3eeae1a188de0b2a070 (diff) |
libdiskfs: Reject LFS seeks and read/writes
vm_offset_t (used by pager_memcpy) is not 64bit-ready yet. Reject requests
which go further than this.
* libdiskfs/io-seek.c (diskfs_S_io_seek): Return EFBIG when requested offset
is beyond limits of vm_offset_t.
* libdiskfs/rdwr-internal.c (_diskfs_rdwr_internal): Return EFBIG when
request goes beyond limits of vm_offset_t.
Diffstat (limited to 'libshouldbeinlibc')
0 files changed, 0 insertions, 0 deletions