security: report the module name to security_module_request
[linux-3.10.git] / security / security.c
index aad71b2ca1950c2b69ea7f7cc4c69f9ec36bf3f5..24e060be9fa54b64994b6e5fe65674b42a90928c 100644 (file)
@@ -764,9 +764,9 @@ int security_kernel_create_files_as(struct cred *new, struct inode *inode)
        return security_ops->kernel_create_files_as(new, inode);
 }
 
-int security_kernel_module_request(void)
+int security_kernel_module_request(char *kmod_name)
 {
-       return security_ops->kernel_module_request();
+       return security_ops->kernel_module_request(kmod_name);
 }
 
 int security_task_setuid(uid_t id0, uid_t id1, uid_t id2, int flags)