Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30237
b: refs/heads/master
c: ff9724a
h: refs/heads/master
i:
  30235: 4600efb
v: v3
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Jun 26, 2006
1 parent 52d1296 commit d243397
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5634708b5fce807bdf2091cfafc2fb24d791f0c8
refs/heads/master: ff9724a3f7a69f7b443c05981f84e28017c2fc5a
2 changes: 0 additions & 2 deletions trunk/fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,6 @@ static int proc_pid_readlink(struct dentry * dentry, char __user * buffer, int b
struct dentry *de;
struct vfsmount *mnt = NULL;

lock_kernel();

if (current->fsuid != inode->i_uid && !capable(CAP_DAC_OVERRIDE))
goto out;
Expand All @@ -1183,7 +1182,6 @@ static int proc_pid_readlink(struct dentry * dentry, char __user * buffer, int b
dput(de);
mntput(mnt);
out:
unlock_kernel();
return error;
}

Expand Down

0 comments on commit d243397

Please sign in to comment.