X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fkmod.c;h=bb4e29d924e4ff29567a962e7b643e0c1c875896;hb=7c2aed4b5632fb536721b8494d1a4a65852ffb49;hp=f8121b95183f3c58502e1cacf6b25c1285ebecc3;hpb=d025c9db7f31fc0554ce7fb2dfc78d35a77f3487;p=linux-2.6 diff --git a/kernel/kmod.c b/kernel/kmod.c index f8121b9518..bb4e29d924 100644 --- a/kernel/kmod.c +++ b/kernel/kmod.c @@ -18,8 +18,6 @@ call_usermodehelper wait flag, and remove exec_usermodehelper. Rusty Russell Jan 2003 */ -#define __KERNEL_SYSCALLS__ - #include #include #include @@ -169,7 +167,8 @@ static int ____call_usermodehelper(void *data) retval = -EPERM; if (current->fs->root) - retval = execve(sub_info->path, sub_info->argv, sub_info->envp); + retval = kernel_execve(sub_info->path, + sub_info->argv, sub_info->envp); /* Exec failed? */ sub_info->retval = retval;