summaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
authorAl Viro2011-11-22 03:15:42 +0100
committerAl Viro2012-01-04 04:52:35 +0100
commitf47ec3f28354795f000c14bf18ed967ec81a3ec3 (patch)
tree662d479706bd948963ad3f9f00c2e6caedbe5a92 /fs/exec.c
parentpull manipulations of rpc_cred inside alloc_nfs_open_context() (diff)
downloadkernel-qcow2-linux-f47ec3f28354795f000c14bf18ed967ec81a3ec3.tar.gz
kernel-qcow2-linux-f47ec3f28354795f000c14bf18ed967ec81a3ec3.tar.xz
kernel-qcow2-linux-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 36254645b7cc..3f64b9f26e7d 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;