Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107173935
D41806.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
635 B
Referenced Files
None
Subscribers
None
D41806.diff
View Options
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -5426,12 +5426,14 @@
struct nameidata *ndp;
struct componentname *cnp;
struct vnode *dvp, *tvp;
+ struct pwd *pwd;
int error;
ndp = fpl->ndp;
cnp = fpl->cnp;
dvp = fpl->dvp;
tvp = fpl->tvp;
+ pwd = *(fpl->pwd);
if (cache_fpl_islastcn(ndp)) {
if ((cnp->cn_flags & FOLLOW) == 0) {
@@ -5487,6 +5489,9 @@
cache_fpl_checkpoint(fpl);
return (cache_fpl_partial(fpl));
}
+ if (__predict_false(pwd->pwd_adir != pwd->pwd_rdir)) {
+ return (cache_fpl_aborted(fpl));
+ }
}
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 12, 6:08 AM (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15762301
Default Alt Text
D41806.diff (635 B)
Attached To
Mode
D41806: vfs cache: Fallback to namei to resolve symlinks with leading / in target for non-native ABI
Attached
Detach File
Event Timeline
Log In to Comment