Thread (4 messages) 4 messages, 4 authors, 2014-07-01

Re: [PATCH 01/11] fs: add O_BENEATH_ONLY flag to openat(2)

From: Andi Kleen <hidden>
Date: 2014-06-30 20:40:50
Also in: lkml

David Drysdale [off-list ref] writes:
Add a new O_BENEATH_ONLY flag for openat(2) which restricts the
provided path, rejecting (with -EACCES) paths that are not beneath
the provided dfd.  In particular, reject:
 - paths that contain .. components
 - paths that begin with /
 - symlinks that have paths as above.
How about bind mounts?

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help