Displaying 2 results from an estimated 2 matches for "4f74c02".
2009 Aug 13
7
[PATCHx7] Misc patches
...es at trick.home.annexia.org>
Date: Thu, 13 Aug 2009 14:41:05 +0100
Subject: [PATCH 4/7] In rmmountpoint, have to explicitly check for ABS_PATH (*not* NEED_ROOT).
---
daemon/mount.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/daemon/mount.c b/daemon/mount.c
index 4f74c02..d1b26fa 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -373,6 +373,9 @@ do_rmmountpoint (const char *path)
{
int r;
+ /* NEED_ROOT (return -1); - we don't want this test for this call. */
+ ABS_PATH (path, return -1);
+
CHROOT_IN;
r = rmdir (path);
CHROOT_OUT;
--
1.6.2.5...
2009 Aug 12
23
[PATCH 0/23] factor and const-correctness
This started as a simple warning-elimination change.
I'll get back to that series shortly ;-)
It turned into a factorization and constification exercise
during which I got a taste of ocaml. Thanks to Rich Jones
for help with a few snippets in generator.ml.
The overall result is that many previously-manually-maintained
bits from daemon/*.c functions are now hoisted into the automatically-