arch/arm64/include/uapi/asm/mman.h

Source file repositories/reference/linux-study-clean/arch/arm64/include/uapi/asm/mman.h

File Facts

System
Linux kernel
Corpus path
arch/arm64/include/uapi/asm/mman.h
Extension
.h
Size
552 bytes
Lines
20
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _UAPI__ASM_MMAN_H
#define _UAPI__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 */

Annotation

Implementation Notes