Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32607
b: refs/heads/master
c: 9ee8ab9
h: refs/heads/master
i:
  32605: 93fa7c3
  32603: 4ec1a61
  32599: da1ef77
  32591: d046615
  32575: 0419957
v: v3
  • Loading branch information
Linus Torvalds committed Jul 15, 2006
1 parent 28ec6d8 commit 67dfe82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 18b0bbd8ca6d3cb90425aa0d77b99a762c6d6de3
refs/heads/master: 9ee8ab9fbf21e6b87ad227cd46c0a4be41ab749b
3 changes: 2 additions & 1 deletion trunk/fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -1338,8 +1338,8 @@ static int pid_revalidate(struct dentry *dentry, struct nameidata *nd)
} else {
inode->i_uid = 0;
inode->i_gid = 0;
inode->i_mode = 0;
}
inode->i_mode &= ~(S_ISUID | S_ISGID);
security_task_to_inode(task, inode);
put_task_struct(task);
return 1;
Expand Down Expand Up @@ -1390,6 +1390,7 @@ static int tid_fd_revalidate(struct dentry *dentry, struct nameidata *nd)
inode->i_uid = 0;
inode->i_gid = 0;
}
inode->i_mode &= ~(S_ISUID | S_ISGID);
security_task_to_inode(task, inode);
put_task_struct(task);
return 1;
Expand Down

0 comments on commit 67dfe82

Please sign in to comment.