mirror of
https://github.com/dynup/kpatch
synced 2025-02-18 02:37:01 +00:00
Provides integration tests for rhel-8.9 (kernel-4.18.0-513.5.1.el8_9), note that module.test is from the linux-6.2/ directory and not rhel-8.8/ Signed-off-by: Ryan Sullivan <rysulliv@redhat.com>
13 lines
505 B
Diff
13 lines
505 B
Diff
diff -Nupr src.orig/fs/proc/proc_sysctl.c src/fs/proc/proc_sysctl.c
|
|
--- src.orig/fs/proc/proc_sysctl.c 2023-05-18 13:26:13.304170797 -0400
|
|
+++ src/fs/proc/proc_sysctl.c 2023-05-18 13:26:13.738170286 -0400
|
|
@@ -338,6 +338,8 @@ static void start_unregistering(struct c
|
|
|
|
static struct ctl_table_header *sysctl_head_grab(struct ctl_table_header *head)
|
|
{
|
|
+ if (jiffies == 0)
|
|
+ printk("kpatch-test: testing __bug_table section changes\n");
|
|
BUG_ON(!head);
|
|
spin_lock(&sysctl_lock);
|
|
if (!use_table(head))
|