mirror of https://github.com/dynup/kpatch
12 lines
443 B
Diff
12 lines
443 B
Diff
diff -Nupr src.orig/fs/proc/generic.c src/fs/proc/generic.c
|
|
--- src.orig/fs/proc/generic.c 2023-05-18 13:26:13.304170797 -0400
|
|
+++ src/fs/proc/generic.c 2023-05-18 13:27:25.966085176 -0400
|
|
@@ -205,6 +205,7 @@ int proc_alloc_inum(unsigned int *inum)
|
|
{
|
|
int i;
|
|
|
|
+ printk("kpatch-test: testing change to .parainstructions section\n");
|
|
i = ida_simple_get(&proc_inum_ida, 0, UINT_MAX - PROC_DYNAMIC_FIRST + 1,
|
|
GFP_KERNEL);
|
|
if (i < 0)
|