commit | 144d1826f1a0fcd6cc59c4535f0a8145163c640c | [log] [tgz] |
---|---|---|
author | Kees Cook <[email protected]> | Mon Feb 18 12:02:32 2013 -0800 |
committer | Lucas De Marchi <[email protected]> | Tue Feb 19 19:19:51 2013 -0300 |
tree | 18c289b56d5a557a67d107b233071b117445901d | |
parent | 709b86346e78f18badacd269b48868f153b87383 [diff] |
libkmod: add finit_module logic When a module is being loaded directly from disk (no compression, etc), pass the file descriptor to the new finit_module() syscall. If the finit_module syscall is exported by the kernel syscall headers, use it. Additionally, if the kernel's module.h file is available, map kmod flags to finit_module flags.