Page MenuHomeFreeBSD

D25886.id77379.diff
No OneTemporary

D25886.id77379.diff

Index: head/sys/kern/vfs_lookup.c
===================================================================
--- head/sys/kern/vfs_lookup.c
+++ head/sys/kern/vfs_lookup.c
@@ -215,7 +215,11 @@
/*
* For dotdot lookups in capability mode, only allow the component
* lookup to succeed if the resulting directory was already traversed
- * during the operation. Also fail dotdot lookups for non-local
+ * during the operation. This catches situations where already
+ * traversed directory is moved to different parent, and then we walk
+ * over it with dotdots.
+ *
+ * Also allow to force failure of dotdot lookups for non-local
* filesystems, where external agents might assist local lookups to
* escape the compartment.
*/

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 18, 6:35 PM (9 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14253834
Default Alt Text
D25886.id77379.diff (726 B)

Event Timeline