0d2eeef77a
update linux-headers to v6.12-rc5. Pass to compile on aarch64, arm, loongarch64, x86_64, i386, riscv64,riscv32 softmmu and linux-user. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Acked-by: Song Gao <gaosong@loongson.cn> Message-Id: <20241028023809.1554405-4-maobibo@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>
20 lines
542 B
C
20 lines
542 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef __ASM_MMAN_H
|
|
#define __ASM_MMAN_H
|
|
|
|
#include <asm-generic/mman.h>
|
|
|
|
#define PROT_BTI 0x10 /* BTI guarded page */
|
|
#define PROT_MTE 0x20 /* Normal Tagged mapping */
|
|
|
|
/* Override any generic PKEY permission defines */
|
|
#define PKEY_DISABLE_EXECUTE 0x4
|
|
#define PKEY_DISABLE_READ 0x8
|
|
#undef PKEY_ACCESS_MASK
|
|
#define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
|
|
PKEY_DISABLE_WRITE |\
|
|
PKEY_DISABLE_READ |\
|
|
PKEY_DISABLE_EXECUTE)
|
|
|
|
#endif /* ! _UAPI__ASM_MMAN_H */
|