diff options
| author | Rusty Russell <rusty@rustcorp.com.au> | 2012-10-22 03:39:41 -0400 |
|---|---|---|
| committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-12-13 21:35:23 -0500 |
| commit | 2f3238aebedb243804f58d62d57244edec4149b2 (patch) | |
| tree | 984f7f4a6b2225649120c55a7b89e65e9de55ee2 /include/linux | |
| parent | 34e1169d996ab148490c01b65b4ee371cf8ffba2 (diff) | |
module: add flags arg to sys_finit_module()
Thanks to Michael Kerrisk for keeping us honest. These flags are actually
useful for eliminating the only case where kmod has to mangle a module's
internals: for overriding module versioning.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Acked-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/syscalls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 32bc035bcd6..8cf7b508cb5 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
| @@ -868,5 +868,5 @@ asmlinkage long sys_process_vm_writev(pid_t pid, | |||
| 868 | 868 | ||
| 869 | asmlinkage long sys_kcmp(pid_t pid1, pid_t pid2, int type, | 869 | asmlinkage long sys_kcmp(pid_t pid1, pid_t pid2, int type, |
| 870 | unsigned long idx1, unsigned long idx2); | 870 | unsigned long idx1, unsigned long idx2); |
| 871 | asmlinkage long sys_finit_module(int fd, const char __user *uargs); | 871 | asmlinkage long sys_finit_module(int fd, const char __user *uargs, int flags); |
| 872 | #endif | 872 | #endif |
