]> Pileus Git - ~andy/linux/blobdiff - fs/proc/generic.c
Allow access to /proc/$PID/fd after setuid()
[~andy/linux] / fs / proc / generic.c
index 0cdc00d9d97e5feb9e9e5872029e067527c8dea7..775fb21294d821419ed6b7e0939d963dd6d00e87 100644 (file)
@@ -32,7 +32,7 @@ static loff_t proc_file_lseek(struct file *, loff_t, int);
 
 DEFINE_SPINLOCK(proc_subdir_lock);
 
-int proc_match(int len, const char *name, struct proc_dir_entry *de)
+static int proc_match(int len, const char *name, struct proc_dir_entry *de)
 {
        if (de->namelen != len)
                return 0;