[libc-commits] [libc] [llvm] [libc] Implement pkey_alloc/free/get/set/mprotect for x86_64 linux (PR #162362)

via libc-commits libc-commits at lists.llvm.org
Tue Nov 4 11:18:48 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
----------------
lntue wrote:

nit: gnu

https://github.com/llvm/llvm-project/pull/162362


More information about the libc-commits mailing list