[PATCH v7 6/7] fuse: Support fuse filesystems outside of init_user_ns

2018-02-26 Thread Eric W. Biederman
In order to support mounts from namespaces other than init_user_ns, fuse must translate uids and gids to/from the userns of the process servicing requests on /dev/fuse. This patch does that, with a couple of restrictions on the namespace: - The userns for the fuse connection is fixed to the

[PATCH v7 6/7] fuse: Support fuse filesystems outside of init_user_ns

2018-02-26 Thread Eric W. Biederman
In order to support mounts from namespaces other than init_user_ns, fuse must translate uids and gids to/from the userns of the process servicing requests on /dev/fuse. This patch does that, with a couple of restrictions on the namespace: - The userns for the fuse connection is fixed to the