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 2021-04-20 11:04:26.717100594 -0400
|
|
+++ src/fs/proc/generic.c 2021-04-20 11:05:16.189224721 -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)
|