2014-05-15 21:47:46 +00:00
|
|
|
Index: src/fs/proc/proc_sysctl.c
|
|
|
|
===================================================================
|
|
|
|
--- src.orig/fs/proc/proc_sysctl.c
|
|
|
|
+++ src/fs/proc/proc_sysctl.c
|
2014-06-27 18:00:40 +00:00
|
|
|
@@ -266,6 +266,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))
|