Home
last modified time | relevance | path

Searched refs:pkey_alloc (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.12.1/Documentation/translations/zh_CN/core-api/
Dprotection-keys.rst45 int pkey_alloc(unsigned long flags, unsigned long init_access_rights)
50 在使用一个pkey之前,必须先用pkey_alloc()分配它。一个应用程序直接调用
55 pkey = pkey_alloc(0, PKEY_DISABLE_WRITE);
85 pkey = pkey_alloc(0, PKEY_DISABLE_WRITE | PKEY_DISABLE_READ);
/linux-6.12.1/Documentation/core-api/
Dprotection-keys.rst55 int pkey_alloc(unsigned long flags, unsigned long init_access_rights)
60 Before a pkey can be used, it must first be allocated with pkey_alloc(). An
67 pkey = pkey_alloc(0, PKEY_DISABLE_WRITE);
100 pkey = pkey_alloc(0, PKEY_DISABLE_WRITE | PKEY_DISABLE_READ);
/linux-6.12.1/tools/perf/trace/beauty/
DBuild13 perf-y += pkey_alloc.o
/linux-6.12.1/tools/testing/selftests/mm/
Dpkey_sighandler_tests.c263 pkey = pkey_alloc(0, 0); in test_sigsegv_handler_with_different_pkey_for_stack()
424 pkey = pkey_alloc(0, 0); in test_pkru_sigreturn()
/linux-6.12.1/kernel/
Dsys_ni.c267 COND_SYSCALL(pkey_alloc);
/linux-6.12.1/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl335 324 n64 pkey_alloc sys_pkey_alloc
/linux-6.12.1/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl335 324 n64 pkey_alloc sys_pkey_alloc
Dsyscall_n32.tbl339 328 n32 pkey_alloc sys_pkey_alloc
Dsyscall_o32.tbl378 364 o32 pkey_alloc sys_pkey_alloc
/linux-6.12.1/mm/
Dmprotect.c870 SYSCALL_DEFINE2(pkey_alloc, unsigned long, flags, unsigned long, init_val) in SYSCALL_DEFINE2() argument
/linux-6.12.1/arch/x86/entry/syscalls/
Dsyscall_64.tbl342 330 common pkey_alloc sys_pkey_alloc
Dsyscall_32.tbl396 381 i386 pkey_alloc sys_pkey_alloc
/linux-6.12.1/arch/arm64/tools/
Dsyscall_64.tbl339 289 common pkey_alloc sys_pkey_alloc
Dsyscall_32.tbl410 395 common pkey_alloc sys_pkey_alloc
/linux-6.12.1/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl342 330 common pkey_alloc sys_pkey_alloc
Dsyscall_32.tbl396 381 i386 pkey_alloc sys_pkey_alloc
/linux-6.12.1/scripts/
Dsyscall.tbl339 289 common pkey_alloc sys_pkey_alloc
/linux-6.12.1/arch/xtensa/kernel/syscalls/
Dsyscall.tbl372 349 common pkey_alloc sys_pkey_alloc
/linux-6.12.1/arch/parisc/kernel/syscalls/
Dsyscall.tbl399 352 common pkey_alloc sys_pkey_alloc
/linux-6.12.1/arch/microblaze/kernel/syscalls/
Dsyscall.tbl406 396 common pkey_alloc sys_pkey_alloc
/linux-6.12.1/arch/m68k/kernel/syscalls/
Dsyscall.tbl392 382 common pkey_alloc sys_pkey_alloc
/linux-6.12.1/arch/sh/kernel/syscalls/
Dsyscall.tbl395 385 common pkey_alloc sys_pkey_alloc
/linux-6.12.1/arch/sparc/kernel/syscalls/
Dsyscall.tbl437 363 common pkey_alloc sys_pkey_alloc
/linux-6.12.1/arch/arm/tools/
Dsyscall.tbl413 395 common pkey_alloc sys_pkey_alloc
/linux-6.12.1/arch/alpha/kernel/syscalls/
Dsyscall.tbl456 525 common pkey_alloc sys_pkey_alloc

12