mirror of https://github.com/dynup/kpatch
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
Disabled due to https://github.com/dynup/kpatch/issues/767
|
|
---
|
|
Index: src/fs/proc/cmdline.c
|
|
===================================================================
|
|
--- src.orig/fs/proc/cmdline.c
|
|
+++ src/fs/proc/cmdline.c
|
|
@@ -7,7 +7,7 @@
|
|
static int cmdline_proc_show(struct seq_file *m, void *v)
|
|
{
|
|
seq_puts(m, saved_command_line);
|
|
- seq_putc(m, '\n');
|
|
+ seq_puts(m, " kpatch=1\n");
|
|
return 0;
|
|
}
|
|
|
|
Index: src/fs/proc/meminfo.c
|
|
===================================================================
|
|
--- src.orig/fs/proc/meminfo.c
|
|
+++ src/fs/proc/meminfo.c
|
|
@@ -120,7 +120,7 @@ static int meminfo_proc_show(struct seq_
|
|
seq_printf(m, "VmallocTotal: %8lu kB\n",
|
|
(unsigned long)VMALLOC_TOTAL >> 10);
|
|
show_val_kb(m, "VmallocUsed: ", 0ul);
|
|
- show_val_kb(m, "VmallocChunk: ", 0ul);
|
|
+ show_val_kb(m, "VMALLOCCHUNK: ", 0ul);
|
|
|
|
#ifdef CONFIG_MEMORY_FAILURE
|
|
seq_printf(m, "HardwareCorrupted: %5lu kB\n",
|
|
Index: src/include/linux/kernel.h
|
|
===================================================================
|
|
--- src.orig/include/linux/kernel.h
|
|
+++ src/include/linux/kernel.h
|
|
@@ -3,6 +3,7 @@
|
|
#define _LINUX_KERNEL_H
|
|
|
|
|
|
+
|
|
#include <stdarg.h>
|
|
#include <linux/linkage.h>
|
|
#include <linux/stddef.h>
|