122851890Sopenharmony_ci/****************************************************************************
222851890Sopenharmony_ci ****************************************************************************
322851890Sopenharmony_ci ***
422851890Sopenharmony_ci ***   This header was automatically generated from a Linux kernel header
522851890Sopenharmony_ci ***   of the same name, to make information necessary for userspace to
622851890Sopenharmony_ci ***   call into the kernel available to libc.  It contains only constants,
722851890Sopenharmony_ci ***   structures, and macros generated from the original header, and thus,
822851890Sopenharmony_ci ***   contains no copyrightable information.
922851890Sopenharmony_ci ***
1022851890Sopenharmony_ci ***   To edit the content of this header, modify the corresponding
1122851890Sopenharmony_ci ***   source file (e.g. under external/kernel-headers/original/) then
1222851890Sopenharmony_ci ***   run bionic/libc/kernel/tools/update_all.py
1322851890Sopenharmony_ci ***
1422851890Sopenharmony_ci ***   Any manual change here will be lost the next time this script will
1522851890Sopenharmony_ci ***   be run. You've been warned!
1622851890Sopenharmony_ci ***
1722851890Sopenharmony_ci ****************************************************************************
1822851890Sopenharmony_ci ****************************************************************************/
1922851890Sopenharmony_ci#ifndef __ASM_GENERIC_MMAN_COMMON_H
2022851890Sopenharmony_ci#define __ASM_GENERIC_MMAN_COMMON_H
2122851890Sopenharmony_ci#define PROT_READ 0x1
2222851890Sopenharmony_ci#define PROT_WRITE 0x2
2322851890Sopenharmony_ci#define PROT_EXEC 0x4
2422851890Sopenharmony_ci#define PROT_SEM 0x8
2522851890Sopenharmony_ci#define PROT_NONE 0x0
2622851890Sopenharmony_ci#define PROT_GROWSDOWN 0x01000000
2722851890Sopenharmony_ci#define PROT_GROWSUP 0x02000000
2822851890Sopenharmony_ci#define MAP_TYPE 0x0f
2922851890Sopenharmony_ci#define MAP_FIXED 0x10
3022851890Sopenharmony_ci#define MAP_ANONYMOUS 0x20
3122851890Sopenharmony_ci#define MAP_POPULATE 0x008000
3222851890Sopenharmony_ci#define MAP_NONBLOCK 0x010000
3322851890Sopenharmony_ci#define MAP_STACK 0x020000
3422851890Sopenharmony_ci#define MAP_HUGETLB 0x040000
3522851890Sopenharmony_ci#define MAP_SYNC 0x080000
3622851890Sopenharmony_ci#define MAP_FIXED_NOREPLACE 0x100000
3722851890Sopenharmony_ci#define MAP_UNINITIALIZED 0x4000000
3822851890Sopenharmony_ci#define MLOCK_ONFAULT 0x01
3922851890Sopenharmony_ci#define MS_ASYNC 1
4022851890Sopenharmony_ci#define MS_INVALIDATE 2
4122851890Sopenharmony_ci#define MS_SYNC 4
4222851890Sopenharmony_ci#define MADV_NORMAL 0
4322851890Sopenharmony_ci#define MADV_RANDOM 1
4422851890Sopenharmony_ci#define MADV_SEQUENTIAL 2
4522851890Sopenharmony_ci#define MADV_WILLNEED 3
4622851890Sopenharmony_ci#define MADV_DONTNEED 4
4722851890Sopenharmony_ci#define MADV_FREE 8
4822851890Sopenharmony_ci#define MADV_REMOVE 9
4922851890Sopenharmony_ci#define MADV_DONTFORK 10
5022851890Sopenharmony_ci#define MADV_DOFORK 11
5122851890Sopenharmony_ci#define MADV_HWPOISON 100
5222851890Sopenharmony_ci#define MADV_SOFT_OFFLINE 101
5322851890Sopenharmony_ci#define MADV_MERGEABLE 12
5422851890Sopenharmony_ci#define MADV_UNMERGEABLE 13
5522851890Sopenharmony_ci#define MADV_HUGEPAGE 14
5622851890Sopenharmony_ci#define MADV_NOHUGEPAGE 15
5722851890Sopenharmony_ci#define MADV_DONTDUMP 16
5822851890Sopenharmony_ci#define MADV_DODUMP 17
5922851890Sopenharmony_ci#define MADV_WIPEONFORK 18
6022851890Sopenharmony_ci#define MADV_KEEPONFORK 19
6122851890Sopenharmony_ci#define MADV_COLD 20
6222851890Sopenharmony_ci#define MADV_PAGEOUT 21
6322851890Sopenharmony_ci#define MAP_FILE 0
6422851890Sopenharmony_ci#define PKEY_DISABLE_ACCESS 0x1
6522851890Sopenharmony_ci#define PKEY_DISABLE_WRITE 0x2
6622851890Sopenharmony_ci#define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)
6722851890Sopenharmony_ci#endif
68