summaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-21 21:15:42 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:52:35 -0500
commitf47ec3f28354795f000c14bf18ed967ec81a3ec3 (patch)
tree662d479706bd948963ad3f9f00c2e6caedbe5a92 /fs/exec.c
parent5ede7b1cfa8201418fb35e12f770e9e7c2559a4d (diff)
downloadlinux-3.10-f47ec3f28354795f000c14bf18ed967ec81a3ec3.tar.gz
linux-3.10-f47ec3f28354795f000c14bf18ed967ec81a3ec3.tar.bz2
linux-3.10-f47ec3f28354795f000c14bf18ed967ec81a3ec3.zip
trim fs/internal.h
some stuff in there can actually become static; some belongs to pnode.h as it's a private interface between namespace.c and pnode.c... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 36254645b7c..3f64b9f26e7 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1225,7 +1225,7 @@ EXPORT_SYMBOL(install_exec_creds);
* - the caller must hold ->cred_guard_mutex to protect against
* PTRACE_ATTACH
*/
-int check_unsafe_exec(struct linux_binprm *bprm)
+static int check_unsafe_exec(struct linux_binprm *bprm)
{
struct task_struct *p = current, *t;
unsigned n_fs;