Re: [fuse-devel] fuse_get_context() and namespaces

From: Miklos Szeredi
Date: Mon Jun 01 2015 - 09:07:39 EST


On Wed, May 27, 2015 at 2:55 PM, Seth Forshee
<seth.forshee@xxxxxxxxxxxxx> wrote:

> I haven't seen anything to indicate that this filesystem will be broken
> by this, just that it's broken by untranslated pids. Presumably it would
> just reject any requests which aren't representable in its namespace.

Without failing the operation there never will be any indication that
a filesystem is broken. So I guess the safe way would be

- deny access for untranslated pids (uids, gids, etc).

- if this becomes an issue (possibly a perfomance issue), then add a
flag to disable pids (and/or uids, gids) completely.

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/