The capability is going away. Move stubs into .text.user.
No change in test behaviour.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
const char test_title[] = "XSA-170 PoC";
-bool test_wants_user_mappings = true;
bool test_needs_fep = true;
-void wild_jump(void)
+static void __user_text wild_jump(void)
{
/*
* After XSA-170, Xen's instruction emulator was improved to perform a
:: "rm" (0x8000000000000000ULL));
}
-void nop_slide(void)
+static void __user_text nop_slide(void)
{
/*
* AMD hardware can correctly re-enter the guest with a non-canonical
const char test_title[] = "XSA-196 PoC";
-bool test_wants_user_mappings = true;
bool test_needs_fep = true;
void custom_doublefault_handler(void);
.cs = __KERN_CS,
};
-unsigned long compat_userspace(void)
+static unsigned long __user_text compat_userspace(void)
{
exinfo_t fault = 0;