Home
last modified time | relevance | path

Searched refs:pkey_set (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/Documentation/translations/zh_CN/core-api/
Dprotection-keys.rst52 被一个叫做pkey_set()的C函数所封装::
63 pkey_set(pkey, 0); // clear PKEY_DISABLE_WRITE
65 pkey_set(pkey, PKEY_DISABLE_WRITE); // set PKEY_DISABLE_WRITE again
72 .. note:: pkey_set()是RDPKRU和WRPKRU指令的一个封装器。在tools/testing/selftests/x86/protection_keys.c中可以找到一个实现实…
/linux-6.12.1/Documentation/core-api/
Dprotection-keys.rst63 this is wrapped by a C function called pkey_set().
75 pkey_set(pkey, 0); // clear PKEY_DISABLE_WRITE
77 pkey_set(pkey, PKEY_DISABLE_WRITE); // set PKEY_DISABLE_WRITE again
85 .. note:: pkey_set() is a wrapper around writing to the CPU register.
/linux-6.12.1/arch/powerpc/kernel/ptrace/
Dptrace-view.c533 static int pkey_set(struct task_struct *target, const struct user_regset *regset, in pkey_set() function
688 .active = pkey_active, .regset_get = pkey_get, .set = pkey_set