aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kmod.c')
-rw-r--r--kernel/kmod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c
index ecd42b484db8..56dd34976d7b 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -228,9 +228,9 @@ static int ____call_usermodehelper(void *data)
228 228
229 commit_creds(new); 229 commit_creds(new);
230 230
231 retval = kernel_execve(sub_info->path, 231 retval = do_execve(sub_info->path,
232 (const char *const *)sub_info->argv, 232 (const char __user *const __user *)sub_info->argv,
233 (const char *const *)sub_info->envp); 233 (const char __user *const __user *)sub_info->envp);
234 if (!retval) 234 if (!retval)
235 return 0; 235 return 0;
236 236