kpatch/test/integration/fixup-section.patch
Josh Poimboeuf 698cc1c137 create-diff-object: support fixup and related sections
Add support for the following sections:

- .fixup
- __ex_table
- .altinstructions
- .altinstr_replacement

Fixes #187.
2014-05-27 12:47:45 -05:00

13 lines
411 B
Diff

Index: src/fs/readdir.c
===================================================================
--- src.orig/fs/readdir.c
+++ src/fs/readdir.c
@@ -169,6 +169,7 @@ static int filldir(void * __buf, const c
goto efault;
}
dirent = buf->current_dir;
+ printk("kpatch-test: testing .fixup section changes\n");
if (__put_user(d_ino, &dirent->d_ino))
goto efault;
if (__put_user(reclen, &dirent->d_reclen))