Blame test/integration/rhel-7.6/bug-table-section.patch
|
Packit Service |
da4517 |
Index: kernel-rhel7/fs/proc/proc_sysctl.c
|
|
Packit Service |
da4517 |
===================================================================
|
|
Packit Service |
da4517 |
--- kernel-rhel7.orig/fs/proc/proc_sysctl.c
|
|
Packit Service |
da4517 |
+++ kernel-rhel7/fs/proc/proc_sysctl.c
|
|
Packit Service |
da4517 |
@@ -301,6 +301,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))
|