Skip to content

Commit

Permalink
don't bother exporting kernel_execve()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Al Viro committed Sep 20, 2012
1 parent 826eba4 commit 1cedd69
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion arch/arm/kernel/sys_arm.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ int kernel_execve(const char *filename,
out:
return ret;
}
EXPORT_SYMBOL(kernel_execve);

/*
* Since loff_t is a 64 bit type we avoid a lot of ABI hassle
Expand Down
1 change: 0 additions & 1 deletion arch/hexagon/kernel/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,3 @@ int kernel_execve(const char *filename,

return retval;
}
EXPORT_SYMBOL(kernel_execve);
1 change: 0 additions & 1 deletion arch/unicore32/kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ int kernel_execve(const char *filename,
out:
return ret;
}
EXPORT_SYMBOL(kernel_execve);

/* Note: used by the compat code even in 64-bit Linux. */
SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len,
Expand Down

0 comments on commit 1cedd69

Please sign in to comment.