Re: [PATCH RFC 4/7] fs: support FD_FAILFS_ROOT in fchroot()
"John Ericson" <[email protected]> Sun, 26 Jul 2026 23:30:29 -0400
| Newsgroups | org.kernel.vger.linux-api,org.kernel.vger.linux-doc,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Very happy to see this patch series appear; thanks Christian! Also happy with where this specific thread is going. I will just add that an additional flag in fs_struct to force RESOLVE_BENEATH in *all* path lookup would also be nice. The combination of: root = pwd = failfs; chroot_locked = false; always_resolve_beneath = true; goes along way to getting Capsicum's "capability mode". Then we just need to figure out things like more capabilities for directory file descriptors per Andy's brainstorming thread thread (which I ought to get to replying to). John