Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185729
b: refs/heads/master
c: 440b3c6
h: refs/heads/master
i:
  185727: 3a939f9
v: v3
  • Loading branch information
Al Viro committed Mar 3, 2010
1 parent 79f95cb commit 7b8433a
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 0ceeca5a08abb1d880f0cc0ea812ad14932070e0
refs/heads/master: 440b3c6c160f7d0a985f24ad1f4c24e00ee2d936
2 changes: 1 addition & 1 deletion trunk/security/tomoyo/realpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ int tomoyo_realpath_from_path2(struct path *path, char *newname,
sp = __d_path(path, &ns_root, newname, newname_len);
spin_unlock(&dcache_lock);
/* Prepend "/proc" prefix if using internal proc vfs mount. */
if (!IS_ERR(sp) && (path->mnt->mnt_parent == path->mnt) &&
if (!IS_ERR(sp) && (path->mnt->mnt_flags & MNT_INTERNAL) &&
(strcmp(path->mnt->mnt_sb->s_type->name, "proc") == 0)) {
sp -= 5;
if (sp >= newname)
Expand Down

0 comments on commit 7b8433a

Please sign in to comment.