diff options
author | Szabolcs Nagy <nsz@port70.net> | 2017-11-26 23:58:25 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-02-22 18:48:12 -0500 |
commit | abdaba8616c29b0814a4dbe726224b6f2c9f8604 (patch) | |
tree | 8bf71934fb4141cdd8e519621bd06544062119ef /include/paths.h | |
parent | fba3059d72e610944339ab139b01ea0c97d8f7c6 (diff) | |
download | musl-abdaba8616c29b0814a4dbe726224b6f2c9f8604.tar.gz musl-abdaba8616c29b0814a4dbe726224b6f2c9f8604.tar.xz musl-abdaba8616c29b0814a4dbe726224b6f2c9f8604.zip |
sys/{mman,shm}.h: add {MAP,SHM}_HUGE_ macros from linux uapi
*_HUGE_SHIFT, *_HUGE_2MB, *_HUGE_1GB are documented in the man page, so add all of the *_HUGE_* macros from linux uapi. if MAP_HUGETLB is set, top bits of the mmap flags encode the page size. see the linux commit aafd4562dfee81a40ba21b5ea3cf5e06664bc7f6 if SHM_HUGETLB is set, top bits of the shmget flags encode the page size. see the linux commit 4da243ac1cf6aeb30b7c555d56208982d66d6d33 *_HUGE_16GB is defined unsigned to avoid signed left shift ub.
Diffstat (limited to 'include/paths.h')
0 files changed, 0 insertions, 0 deletions