mirror of
https://github.com/dynup/kpatch
synced 2024-12-18 19:34:30 +00:00
0e0cee369a
Added integration-test patches rebased against rhel-7.7 GA kernel. No conflicts, some fuzz. Signed-off-by: Artem Savkov <asavkov@redhat.com>
14 lines
475 B
Diff
14 lines
475 B
Diff
Index: kernel/fs/proc/proc_sysctl.c
|
|
===================================================================
|
|
--- kernel.orig/fs/proc/proc_sysctl.c
|
|
+++ kernel/fs/proc/proc_sysctl.c
|
|
@@ -301,6 +301,8 @@ void sysctl_head_put(struct ctl_table_he
|
|
|
|
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))
|