mirror of
https://github.com/dynup/kpatch
synced 2025-01-24 13:52:49 +00:00
b6692c14d7
Kernel version: 4.4.0-53-generic
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
diff -Nupr src.orig/fs/proc/cmdline.c src/fs/proc/cmdline.c
|
|
--- src.orig/fs/proc/cmdline.c 2016-12-15 19:55:39.084000000 +0000
|
|
+++ src/fs/proc/cmdline.c 2016-12-15 19:57:13.988000000 +0000
|
|
@@ -5,7 +5,7 @@
|
|
|
|
static int cmdline_proc_show(struct seq_file *m, void *v)
|
|
{
|
|
- seq_printf(m, "%s\n", saved_command_line);
|
|
+ seq_printf(m, "%s kpatch=1\n", saved_command_line);
|
|
return 0;
|
|
}
|
|
|
|
diff -Nupr src.orig/fs/proc/meminfo.c src/fs/proc/meminfo.c
|
|
--- src.orig/fs/proc/meminfo.c 2016-12-15 19:55:39.084000000 +0000
|
|
+++ src/fs/proc/meminfo.c 2016-12-15 19:57:13.988000000 +0000
|
|
@@ -99,7 +99,7 @@ static int meminfo_proc_show(struct seq_
|
|
"Committed_AS: %8lu kB\n"
|
|
"VmallocTotal: %8lu kB\n"
|
|
"VmallocUsed: %8lu kB\n"
|
|
- "VmallocChunk: %8lu kB\n"
|
|
+ "VMALLOCCHUNK: %8lu kB\n"
|
|
#ifdef CONFIG_MEMORY_FAILURE
|
|
"HardwareCorrupted: %5lu kB\n"
|
|
#endif
|
|
diff -Nupr src.orig/include/linux/kernel.h src/include/linux/kernel.h
|
|
--- src.orig/include/linux/kernel.h 2016-12-15 19:55:56.996000000 +0000
|
|
+++ src/include/linux/kernel.h 2016-12-15 19:57:13.992000000 +0000
|
|
@@ -2,6 +2,7 @@
|
|
#define _LINUX_KERNEL_H
|
|
|
|
|
|
+
|
|
#include <stdarg.h>
|
|
#include <linux/linkage.h>
|
|
#include <linux/stddef.h>
|