mirror of
https://github.com/dynup/kpatch
synced 2025-01-05 12:39:26 +00:00
4423e471d1
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>
13 lines
495 B
Diff
13 lines
495 B
Diff
diff -Nupr src/fs/proc/proc_sysctl.c src/fs/proc/proc_sysctl.c
|
|
--- src/fs/proc/proc_sysctl.c 2020-03-11 11:23:26.886602663 +0000
|
|
+++ src/fs/proc/proc_sysctl.c 2020-03-11 11:23:39.822895153 +0000
|
|
@@ -333,6 +333,8 @@ static void start_unregistering(struct c
|
|
|
|
static struct ctl_table_header *sysctl_head_grab(struct ctl_table_header *head)
|
|
{
|
|
+ if (jiffies == 0)
|
|
+ printk("kpatch-test: testing __bug_table section changes\n");
|
|
BUG_ON(!head);
|
|
spin_lock(&sysctl_lock);
|
|
if (!use_table(head))
|