about summary refs log tree commit diff
path: root/pkgs/build-support/build-sandbox/src/setup.h
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-07-02 04:20:26 +0200
committeraszlig <aszlig@nix.build>2018-07-02 04:35:19 +0200
commite05f98c7af4f4ad36e6566c8a6f3343138cff255 (patch)
treeb2ee937983acc624e46635dce1b7280c754a55d5 /pkgs/build-support/build-sandbox/src/setup.h
parentcd8bde1c98543236ec0ceb4375c03eb55aa8e56d (diff)
pkgs/sandbox: Fix mount flags
When using MS_BIND the mount flags aren't actually applied, so we need
to remount the bind mount with the flags we wanted if additional flags
are desired for the mount.

I've also removed the MS_NOATIME, because this doesn't work for kernel
4.14 (returns -EPERM) and it's really not necessary to change the atime
flags for our bind mounts.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/build-support/build-sandbox/src/setup.h')
0 files changed, 0 insertions, 0 deletions