You need to sign in or sign up before continuing.
提交 1cedd692 编写于 作者: A Al Viro

don't bother exporting kernel_execve()

most of the architectures don't and there's not a single
caller outside of core kernel.
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 826eba4d
...@@ -120,7 +120,6 @@ int kernel_execve(const char *filename, ...@@ -120,7 +120,6 @@ int kernel_execve(const char *filename,
out: out:
return ret; return ret;
} }
EXPORT_SYMBOL(kernel_execve);
/* /*
* Since loff_t is a 64 bit type we avoid a lot of ABI hassle * Since loff_t is a 64 bit type we avoid a lot of ABI hassle
......
...@@ -87,4 +87,3 @@ int kernel_execve(const char *filename, ...@@ -87,4 +87,3 @@ int kernel_execve(const char *filename,
return retval; return retval;
} }
EXPORT_SYMBOL(kernel_execve);
...@@ -104,7 +104,6 @@ int kernel_execve(const char *filename, ...@@ -104,7 +104,6 @@ int kernel_execve(const char *filename,
out: out:
return ret; return ret;
} }
EXPORT_SYMBOL(kernel_execve);
/* Note: used by the compat code even in 64-bit Linux. */ /* Note: used by the compat code even in 64-bit Linux. */
SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册