mirror of
https://github.com/dynup/kpatch
synced 2024-12-25 23:02:02 +00:00
76ebcd2fa4
This commit contains centos-7 patches rebased and adjusted to work with recent rhel minors so that integration tests actually pass on those. Signed-off-by: Artem Savkov <asavkov@redhat.com>
13 lines
505 B
Diff
13 lines
505 B
Diff
diff -Nupr src.orig/fs/proc/proc_sysctl.c src/fs/proc/proc_sysctl.c
|
|
--- src.orig/fs/proc/proc_sysctl.c 2017-09-22 15:27:21.698056175 -0400
|
|
+++ src/fs/proc/proc_sysctl.c 2017-09-22 15:27:21.769056469 -0400
|
|
@@ -266,6 +266,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))
|