blob: 2607176945dd28250f3ea78cc5b10202e9e17edc [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Chenga6b53f02013-11-06 15:51:05 -08007#include <asm-generic/mman.h>
Tao Baod7db5942015-01-28 10:07:51 -08008#define arch_mmap_check(addr,len,flags) (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? - EINVAL : 0)