Skip to content
Snippets Groups Projects
Commit 16591eb3 authored by Shea Levy's avatar Shea Levy Committed by Eelco Dolstra
Browse files

Allow bind-mounting regular files into the chroot


mount(2) with MS_BIND allows mounting a regular file on top of a regular
file, so there's no reason to only bind directories. This allows finer
control over just which files are and aren't included in the chroot
without having to build symlink trees or the like.

Signed-off-by: default avatarShea Levy <shea@shealevy.com>
parent c3f5413e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment