diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-07-30 23:24:31 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-07-30 23:24:31 -0400 |
commit | b5bbe797493ea732d4cac15619753c545ed392af (patch) | |
tree | be2033bb393de2e36577f3c5c83e8ad3517089be /src/internal | |
parent | cc54f0aebad529c1abfa49d2d9e319267d57cb9f (diff) | |
download | musl-b5bbe797493ea732d4cac15619753c545ed392af.tar.gz musl-b5bbe797493ea732d4cac15619753c545ed392af.tar.bz2 musl-b5bbe797493ea732d4cac15619753c545ed392af.tar.xz musl-b5bbe797493ea732d4cac15619753c545ed392af.zip |
add framework for mmap2 syscall unit to vary by arch
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/syscall.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/syscall.h b/src/internal/syscall.h index 0a2840ad..bb96c26e 100644 --- a/src/internal/syscall.h +++ b/src/internal/syscall.h @@ -8,6 +8,10 @@ #define SYSCALL_RLIM_INFINITY (~0ULL) #endif +#ifndef SYSCALL_MMAP2_UNIT +#define SYSCALL_MMAP2_UNIT 4096ULL +#endif + #ifndef __scc #define __scc(X) ((long) (X)) typedef long syscall_arg_t; |