module: add flags arg to sys_finit_module()
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Oct 2012 07:39:41 +0000 (18:09 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 14 Dec 2012 02:35:23 +0000 (13:05 +1030)
commit2f3238aebedb243804f58d62d57244edec4149b2
tree984f7f4a6b2225649120c55a7b89e65e9de55ee2
parent34e1169d996ab148490c01b65b4ee371cf8ffba2
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>
include/linux/syscalls.h
include/uapi/linux/module.h [new file with mode: 0644]
kernel/module.c