Allow bind-mounting regular files into the chroot
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: Shea Levy <2ad57049e5a4c55c398e1a2fc9bf3e78fb5d7c3a@shealevy.com>

puffnfresh/nix,jcumming/nix,shlevy/nix,rycee/nix,acowley/nix,puffnfresh/nix,rowhit/nix,ehmry/nix,ehmry/nix,zimbatm/nix,dezgeg/nix,jcumming/nix,ysangkok/nix,ttuegel/nix,peti/nix,dezgeg/nix,NixOS/nix,edolstra/nix,peti/nix,bjornfor/nix,layus/nix,offlinehacker/nix,gridaphobe/nix,NixOS/nix,rycee/nix,ysangkok/nix,rowhit/nix,NixOS/nix,bennofs/nix,peti/nix,garbas/nix,offlinehacker/nix,NixOS/nix,gebner/nix,garbas/nix,nbp/nix,gridaphobe/nix,zimbatm/nix,vcunat/nix,rowhit/nix,layus/nix,jcumming/nix,ehmry/nix,puffnfresh/nix,vcunat/nix,wmertens/nix,peti/nix,bjornfor/nix,dtzWill/nix,jcumming/nix,vizanto/nix,edolstra/nix,puffnfresh/nix,joelmo/nix,bjornfor/nix,vizanto/nix,garbas/nix,rowhit/nix,nbp/nix,offlinehacker/nix,aucampia/nix,ehmry/nix,dtzWill/nix,acowley/nix,ttuegel/nix,aucampia/nix,wmertens/nix,vcunat/nix,dezgeg/nix,shlevy/nix,dtzWill/nix,joelmo/nix,aucampia/nix,ehmry/nix,acowley/nix,nbp/nix,gridaphobe/nix,tchajed/nix,bennofs/nix,pikajude/nix,dezgeg/nix,layus/nix,shlevy/nix,gridaphobe/nix,zimbatm/nix,edolstra/nix,zimbatm/nix,ttuegel/nix,gebner/nix,rycee/nix,joelmo/nix,rycee/nix,vizanto/nix,edolstra/nix,joelmo/nix,bennofs/nix,nbp/nix,NixOS/nix,dtzWill/nix,dezgeg/nix,layus/nix,tchajed/nix,garbas/nix,bjornfor/nix,dtzWill/nix,tchajed/nix,gebner/nix,garbas/nix,aucampia/nix,pikajude/nix,wmertens/nix,ehmry/nix,wmertens/nix,ysangkok/nix,gebner/nix,pikajude/nix,acowley/nix,ttuegel/nix,layus/nix,tchajed/nix,offlinehacker/nix,shlevy/nix,bennofs/nix,peti/nix,vizanto/nix,vcunat/nix,edolstra/nix,rycee/nix,shlevy/nix