2016-12-05 14:43:22 +00:00
|
|
|
diff -Nupr src.orig/fs/proc/proc_sysctl.c src/fs/proc/proc_sysctl.c
|
|
|
|
--- src.orig/fs/proc/proc_sysctl.c 2016-11-30 19:39:49.316737234 +0000
|
|
|
|
+++ src/fs/proc/proc_sysctl.c 2016-11-30 19:39:49.441737234 +0000
|
|
|
|
@@ -301,6 +301,8 @@ void sysctl_head_put(struct ctl_table_he
|
2014-05-15 21:47:46 +00:00
|
|
|
|
|
|
|
static struct ctl_table_header *sysctl_head_grab(struct ctl_table_header *head)
|
|
|
|
{
|
2014-06-27 18:00:40 +00:00
|
|
|
+ if (jiffies == 0)
|
|
|
|
+ printk("kpatch-test: testing __bug_table section changes\n");
|
2014-05-15 21:47:46 +00:00
|
|
|
BUG_ON(!head);
|
|
|
|
spin_lock(&sysctl_lock);
|
|
|
|
if (!use_table(head))
|