Permalink
Please sign in to comment.
Browse files
Fix forkmount to work with 4.8 and higher
A new restriction was placed in the 4.8 kernel that mkdir will return EOVERFLOW if the resulting uid/gid is outside of the container's map. This is a problem for us as we only attach to the mount namespace. So to fix that, we must detect that the kernel supports userns and that the container is in a userns, then attach. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
- Loading branch information...
0 comments on commit
6ff0b5f