16 lines · c
1//===---------- Linux implementation of the Linux pkey_mprotect function --===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#include "src/__support/macros/properties/architectures.h"10 11#if defined(LIBC_TARGET_ARCH_IS_X86_64)12#include "src/sys/mman/linux/x86_64/pkey_common.h"13#else14#include "src/sys/mman/linux/generic/pkey_common.h"15#endif16