Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
440b3c6c
Commit
440b3c6c
authored
Feb 05, 2010
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get rid of ->mnt_parent in tomoyo/realpath
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
0ceeca5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
security/tomoyo/realpath.c
security/tomoyo/realpath.c
+1
-1
No files found.
security/tomoyo/realpath.c
View file @
440b3c6c
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment