Message ID | Z2Xgo3XwE6XrCMOM@google.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | PKEY syscall number for selftest? (was: [PATCH 4/7] KVM: TDX: restore host xsave state when exit from the guest TD) | expand |
diff --git a/tools/testing/selftests/mm/pkey-x86.h b/tools/testing/selftests/mm/pkey-x86.h index ac91777c8917..ccc3552e6b77 100644 --- a/tools/testing/selftests/mm/pkey-x86.h +++ b/tools/testing/selftests/mm/pkey-x86.h @@ -3,6 +3,10 @@ #ifndef _PKEYS_X86_H #define _PKEYS_X86_H +#define __NR_pkey_mprotect 329 +#define __NR_pkey_alloc 330 +#define __NR_pkey_free 331 + #ifdef __i386__ #define REG_IP_IDX REG_EIP