Displaying 4 results from an estimated 4 matches for "02620ef".
2011 Nov 10
5
[PATCH v2] Add tune2fs command.
The changes since the previous patch:
- safe ADD_ARG macro for adding arguments to a fixed size stack array
- support for testing functions that return RHashtable, ie. tune2fs-l.
- add tests that set (tune2fs) and get (tune2fs-l) various parameters.
- only one 'intervalbetweenchecks' parameter (in seconds)
Rich.
2012 Feb 01
1
[PATCH] Clarify the error message when unavailable functions are called (RHBZ#679737).
...return NULL;
#else
- NOT_AVAILABLE (NULL);
+ NOT_AVAILABLE (inotify, NULL);
#endif
}
@@ -405,6 +405,6 @@ do_inotify_files (void)
unlink (tempfile);
return NULL;
#else
- NOT_AVAILABLE (NULL);
+ NOT_AVAILABLE (inotify, NULL);
#endif
}
diff --git a/daemon/luks.c b/daemon/luks.c
index 02620ef..148a0ab 100644
--- a/daemon/luks.c
+++ b/daemon/luks.c
@@ -1,5 +1,5 @@
/* libguestfs - the guestfsd daemon
- * Copyright (C) 2010 Red Hat Inc.
+ * Copyright (C) 2010-2012 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Ge...
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...LL;
}
- r = command (&out, &err, "ls", "-laZ", spath, NULL);
+ r = command (&out, &err, str_ls, "-laZ", spath, NULL);
free (spath);
if (r == -1) {
reply_with_error ("%s", err);
diff --git a/daemon/luks.c b/daemon/luks.c
index 02620ef..3e3b456 100644
--- a/daemon/luks.c
+++ b/daemon/luks.c
@@ -28,10 +28,12 @@
#define MAX_ARGS 64
+GUESTFSD_EXT_CMD(str_cryptsetup, cryptsetup);
+
int
optgroup_luks_available (void)
{
- return prog_exists ("cryptsetup");
+ return prog_exists (str_cryptsetup);
}
/* Callers must...
2012 Aug 30
1
[PATCH] collect list of called external commands
...LL;
}
- r = command (&out, &err, "ls", "-laZ", spath, NULL);
+ r = command (&out, &err, str_ls, "-laZ", spath, NULL);
free (spath);
if (r == -1) {
reply_with_error ("%s", err);
diff --git a/daemon/luks.c b/daemon/luks.c
index 02620ef..14dc47b 100644
--- a/daemon/luks.c
+++ b/daemon/luks.c
@@ -28,10 +28,12 @@
#define MAX_ARGS 64
+GUESTFS_EXT_CMD(str_cryptsetup, cryptsetup);
+
int
optgroup_luks_available (void)
{
- return prog_exists ("cryptsetup");
+ return prog_exists (str_cryptsetup);
}
/* Callers must...