kpatch/test/integration/rhel-8.1/cmdline-string.patch
Kamalesh Babulal 4423e471d1 test/intergation: Rebase to RHEL 8.1
Rebase the integration testcase on top of RHEL 8.1 kernel
4.18.0-147.el8.

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
2020-03-17 17:31:09 +05:30

14 lines
386 B
Diff

diff -Nupr src/fs/proc/cmdline.c src/fs/proc/cmdline.c
--- src/fs/proc/cmdline.c 2020-03-11 11:23:26.878602482 +0000
+++ src/fs/proc/cmdline.c 2020-03-11 11:24:37.984218859 +0000
@@ -6,8 +6,7 @@
static int cmdline_proc_show(struct seq_file *m, void *v)
{
- seq_puts(m, saved_command_line);
- seq_putc(m, '\n');
+ seq_printf(m, "%s kpatch=1\n", saved_command_line);
return 0;
}