[libc] [llvm] [libc] Implement pkey_alloc/free/get/set/mprotect for x86_64 linux (PR #162362)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 4 11:18:56 PST 2025
================
@@ -101,6 +101,41 @@ functions:
arguments:
- type: void *
- type: size_t
+ - name: pkey_alloc
+ standards:
+ - Linux
+ return_type: int
+ arguments:
+ - type: unsigned int
+ - type: unsigned int
+ - name: pkey_free
+ standards:
+ - Linux
+ return_type: int
+ arguments:
+ - type: int
+ - name: pkey_get
+ standards:
+ - GNUExtensions
+ return_type: int
+ arguments:
+ - type: int
+ - name: pkey_mprotect
+ standards:
+ - Linux
+ return_type: int
+ arguments:
+ - type: void *
+ - type: size_t
+ - type: int
+ - type: int
+ - name: pkey_set
+ standards:
+ - GNUExtensions
----------------
lntue wrote:
nit: gnu
https://github.com/llvm/llvm-project/pull/162362
More information about the llvm-commits
mailing list