[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/27: Shut up a Valgrind warning
From: |
Ludovic Courtès |
Subject: |
07/27: Shut up a Valgrind warning |
Date: |
Wed, 03 Jun 2015 22:00:35 +0000 |
civodul pushed a commit to branch nix
in repository guix.
commit 159b7103a7331db16f5db93e146217659e546cd8
Author: Eelco Dolstra <address@hidden>
Date: Fri Dec 12 15:10:02 2014 +0100
Shut up a Valgrind warning
---
nix/libstore/local-store.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/nix/libstore/local-store.cc b/nix/libstore/local-store.cc
index c262b81..00effa0 100644
--- a/nix/libstore/local-store.cc
+++ b/nix/libstore/local-store.cc
@@ -499,7 +499,7 @@ void LocalStore::makeStoreWritable()
if (unshare(CLONE_NEWNS) == -1)
throw SysError("setting up a private mount namespace");
- if (mount(0, settings.nixStore.c_str(), 0, MS_REMOUNT | MS_BIND, 0) ==
-1)
+ if (mount(0, settings.nixStore.c_str(), "none", MS_REMOUNT | MS_BIND,
0) == -1)
throw SysError(format("remounting %1% writable") %
settings.nixStore);
}
#endif
- branch nix updated (3bfa70b -> e531520), Ludovic Courtès, 2015/06/03
- 01/27: Rename 'initChild' to 'runChild'., Ludovic Courtès, 2015/06/03
- 02/27: Use PR_SET_PDEATHSIG to ensure child cleanup, Ludovic Courtès, 2015/06/03
- 04/27: Get rid of unnecessary "interrupted by the user" message with -vvv, Ludovic Courtès, 2015/06/03
- 03/27: Remove tabs, Ludovic Courtès, 2015/06/03
- 07/27: Shut up a Valgrind warning,
Ludovic Courtès <=
- 06/27: Fix some memory leaks, Ludovic Courtès, 2015/06/03
- 08/27: Silence some warnings on GCC 4.9, Ludovic Courtès, 2015/06/03
- 09/27: Better error message, Ludovic Courtès, 2015/06/03
- 10/27: Explicitly include required C headers, Ludovic Courtès, 2015/06/03
- 05/27: Ensure we're writing to stderr in the builder, Ludovic Courtès, 2015/06/03
- 12/27: libutil: Improve errmsg on readLink size mismatch., Ludovic Courtès, 2015/06/03
- 13/27: libutil: Limit readLink() error to only overflows., Ludovic Courtès, 2015/06/03
- 11/27: Pedantry, Ludovic Courtès, 2015/06/03
- 14/27: Set /nix/store permission to 1737, Ludovic Courtès, 2015/06/03
- 16/27: Doh^2, Ludovic Courtès, 2015/06/03