Blame test/integration/rhel-8.1/bug-table-section.patch
|
Packit Service |
da4517 |
diff -Nupr src/fs/proc/proc_sysctl.c src/fs/proc/proc_sysctl.c
|
|
Packit Service |
da4517 |
--- src/fs/proc/proc_sysctl.c 2020-03-11 11:23:26.886602663 +0000
|
|
Packit Service |
da4517 |
+++ src/fs/proc/proc_sysctl.c 2020-03-11 11:23:39.822895153 +0000
|
|
Packit Service |
da4517 |
@@ -333,6 +333,8 @@ static void start_unregistering(struct c
|
|
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))
|