diff options
author | Rich Felker <dalias@aerifal.cx> | 2017-04-21 17:24:46 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-04-21 17:24:46 -0400 |
commit | 2577b1bc16124d0690b9dd268a9f582f80bdcd67 (patch) | |
tree | f8762017a80fd4ff62edd41baf8cf325604d181f /src/mman/mprotect.c | |
parent | b3751c3282e3fbae4b97cb4f29031df9bc6e0745 (diff) | |
download | musl-2577b1bc16124d0690b9dd268a9f582f80bdcd67.tar.gz musl-2577b1bc16124d0690b9dd268a9f582f80bdcd67.tar.xz musl-2577b1bc16124d0690b9dd268a9f582f80bdcd67.zip |
allow full-range file offsets to mmap on archs with 64-bit syscall args
normally 32-bit archs use the mmap2 syscall and are limited to an offset of 2^32 pages. however some 32-bit archs (mainly ILP32-on-64 ones like x32) have 64-bit syscall argument slots and thus can accept the full range. don't artifically limit them.
Diffstat (limited to 'src/mman/mprotect.c')
0 files changed, 0 insertions, 0 deletions