fs: make helpers idmap mount aware
[linux-block.git] / fs / proc / fd.c
index d6e76461e135785551c152a46af605bfc4684481..07fc4fad2602e269c752fb4120d452403229a81e 100644 (file)
@@ -276,7 +276,8 @@ static struct dentry *proc_lookupfd(struct inode *dir, struct dentry *dentry,
  * /proc/pid/fd needs a special permission handler so that a process can still
  * access /proc/self/fd after it has executed a setuid().
  */
-int proc_fd_permission(struct inode *inode, int mask)
+int proc_fd_permission(struct user_namespace *mnt_userns,
+                      struct inode *inode, int mask)
 {
        struct task_struct *p;
        int rv;