[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
356/376: Shut up a Valgrind warning
From: |
Ludovic Courtès |
Subject: |
356/376: Shut up a Valgrind warning |
Date: |
Wed, 28 Jan 2015 22:06:10 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit 46f3eb6fdd55394e90b1041e1af5089c0ca87091
Author: Eelco Dolstra <address@hidden>
Date: Fri Dec 12 15:10:02 2014 +0100
Shut up a Valgrind warning
---
src/libstore/local-store.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 9bd0317..3ad80bc 100644
--- a/src/libstore/local-store.cc
+++ b/src/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
- 344/376: Urgh, (continued)
- 344/376: Urgh, Ludovic Courtès, 2015/01/28
- 343/376: Provide default pagers, Ludovic Courtès, 2015/01/28
- 346/376: Don't use ?=, Ludovic Courtès, 2015/01/28
- 347/376: Remove canary stuff, Ludovic Courtès, 2015/01/28
- 348/376: Remove dead code, Ludovic Courtès, 2015/01/28
- 350/376: Doh, Ludovic Courtès, 2015/01/28
- 338/376: Don't wait for PID -1, Ludovic Courtès, 2015/01/28
- 352/376: Get rid of unnecessary "interrupted by the user" message with -vvv, Ludovic Courtès, 2015/01/28
- 353/376: Don't abort if we get a signal while waiting for the pager, Ludovic Courtès, 2015/01/28
- 351/376: Remove chatty message, Ludovic Courtès, 2015/01/28
- 356/376: Shut up a Valgrind warning,
Ludovic Courtès <=
- 349/376: Remove tabs, Ludovic Courtès, 2015/01/28
- 355/376: Fix some memory leaks, Ludovic Courtès, 2015/01/28
- 357/376: Silence some warnings on GCC 4.9, Ludovic Courtès, 2015/01/28
- 358/376: Install cacert before running nix-channel, Ludovic Courtès, 2015/01/28
- 359/376: Better error message, Ludovic Courtès, 2015/01/28
- 362/376: Undocument nix-generate-patches, Ludovic Courtès, 2015/01/28
- 367/376: Fix image in PDF, Ludovic Courtès, 2015/01/28
- 354/376: Ensure we're writing to stderr in the builder, Ludovic Courtès, 2015/01/28
- 360/376: Style, Ludovic Courtès, 2015/01/28
- 365/376: Update .nixpkg description, Ludovic Courtès, 2015/01/28