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: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
826eba4db0
commit
1cedd6925a
|
@ -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,
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(kernel_execve);
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue