Blame test/integration/ubuntu-16.04/bug-table-section.patch
|
Packit Service |
ac8aad |
diff -Nupr src.orig/fs/proc/proc_sysctl.c src/fs/proc/proc_sysctl.c
|
|
Packit Service |
ac8aad |
--- src.orig/fs/proc/proc_sysctl.c 2016-12-15 19:55:39.084000000 +0000
|
|
Packit Service |
ac8aad |
+++ src/fs/proc/proc_sysctl.c 2016-12-15 19:56:00.204000000 +0000
|
|
Packit Service |
ac8aad |
@@ -301,6 +301,8 @@ void sysctl_head_put(struct ctl_table_he
|
|
Packit Service |
ac8aad |
|
|
Packit Service |
ac8aad |
static struct ctl_table_header *sysctl_head_grab(struct ctl_table_header *head)
|
|
Packit Service |
ac8aad |
{
|
|
Packit Service |
ac8aad |
+ if (jiffies == 0)
|
|
Packit Service |
ac8aad |
+ printk("kpatch-test: testing __bug_table section changes\n");
|
|
Packit Service |
ac8aad |
BUG_ON(!head);
|
|
Packit Service |
ac8aad |
spin_lock(&sysctl_lock);
|
|
Packit Service |
ac8aad |
if (!use_table(head))
|