kpatch/test/integration/rhel-7.7/parainstructions-section.patch

13 lines
403 B
Diff

Index: kernel/fs/proc/generic.c
===================================================================
--- kernel.orig/fs/proc/generic.c
+++ kernel/fs/proc/generic.c
@@ -194,6 +194,7 @@ int proc_alloc_inum(unsigned int *inum)
unsigned int i;
int error;
+ printk("kpatch-test: testing change to .parainstructions section\n");
retry:
if (!ida_pre_get(&proc_inum_ida, GFP_KERNEL))
return -ENOMEM;