| 1 |
Disabled due to https://github.com/dynup/kpatch/issues/767 |
| 2 |
--- |
| 3 |
Index: src/fs/proc/cmdline.c |
| 4 |
=================================================================== |
| 5 |
--- src.orig/fs/proc/cmdline.c |
| 6 |
+++ src/fs/proc/cmdline.c |
| 7 |
@@ -7,7 +7,7 @@ |
| 8 |
static int cmdline_proc_show(struct seq_file *m, void *v) |
| 9 |
{ |
| 10 |
seq_puts(m, saved_command_line); |
| 11 |
- seq_putc(m, '\n'); |
| 12 |
+ seq_puts(m, " kpatch=1\n"); |
| 13 |
return 0; |
| 14 |
} |
| 15 |
|
| 16 |
Index: src/fs/proc/meminfo.c |
| 17 |
=================================================================== |
| 18 |
--- src.orig/fs/proc/meminfo.c |
| 19 |
+++ src/fs/proc/meminfo.c |
| 20 |
@@ -120,7 +120,7 @@ static int meminfo_proc_show(struct seq_ |
| 21 |
seq_printf(m, "VmallocTotal: %8lu kB\n", |
| 22 |
(unsigned long)VMALLOC_TOTAL >> 10); |
| 23 |
show_val_kb(m, "VmallocUsed: ", 0ul); |
| 24 |
- show_val_kb(m, "VmallocChunk: ", 0ul); |
| 25 |
+ show_val_kb(m, "VMALLOCCHUNK: ", 0ul); |
| 26 |
|
| 27 |
#ifdef CONFIG_MEMORY_FAILURE |
| 28 |
seq_printf(m, "HardwareCorrupted: %5lu kB\n", |
| 29 |
Index: src/include/linux/kernel.h |
| 30 |
=================================================================== |
| 31 |
--- src.orig/include/linux/kernel.h |
| 32 |
+++ src/include/linux/kernel.h |
| 33 |
@@ -3,6 +3,7 @@ |
| 34 |
#define _LINUX_KERNEL_H |
| 35 |
|
| 36 |
|
| 37 |
+ |
| 38 |
#include <stdarg.h> |
| 39 |
#include <linux/linkage.h> |
| 40 |
#include <linux/stddef.h> |