Blame test/integration/rhel-7.4/bug-table-section.patch
|
Packit Service |
da4517 |
diff -Nupr src.orig/fs/proc/proc_sysctl.c src/fs/proc/proc_sysctl.c
|
|
Packit Service |
da4517 |
--- src.orig/fs/proc/proc_sysctl.c 2017-09-22 15:27:21.698056175 -0400
|
|
Packit Service |
da4517 |
+++ src/fs/proc/proc_sysctl.c 2017-09-22 15:27:21.769056469 -0400
|
|
Packit Service |
da4517 |
@@ -266,6 +266,8 @@ void sysctl_head_put(struct ctl_table_he
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
static struct ctl_table_header *sysctl_head_grab(struct ctl_table_header *head)
|
|
Packit Service |
da4517 |
{
|
|
Packit Service |
da4517 |
+ if (jiffies == 0)
|
|
Packit Service |
da4517 |
+ printk("kpatch-test: testing __bug_table section changes\n");
|
|
Packit Service |
da4517 |
BUG_ON(!head);
|
|
Packit Service |
da4517 |
spin_lock(&sysctl_lock);
|
|
Packit Service |
da4517 |
if (!use_table(head))
|