search for: 3b18d48

Displaying 2 results from an estimated 2 matches for "3b18d48".

Did you mean: 361848
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...NEED_ROOT (, return NULL); - r = command (&out, &err, "df", "-h", NULL); + r = command (&out, &err, str_df, "-h", NULL); if (r == -1) { reply_with_error ("%s", err); free (out); diff --git a/daemon/dir.c b/daemon/dir.c index 3b18d48..aed45d6 100644 --- a/daemon/dir.c +++ b/daemon/dir.c @@ -29,6 +29,8 @@ #include "daemon.h" #include "actions.h" +GUESTFSD_EXT_CMD(str_rm, rm); + int do_rmdir (const char *path) { @@ -67,7 +69,7 @@ do_rm_rf (const char *path) return -1; } - r = command (NULL, &...
2012 Aug 30
1
[PATCH] collect list of called external commands
...NEED_ROOT (, return NULL); - r = command (&out, &err, "df", "-h", NULL); + r = command (&out, &err, str_df, "-h", NULL); if (r == -1) { reply_with_error ("%s", err); free (out); diff --git a/daemon/dir.c b/daemon/dir.c index 3b18d48..6ddc8a4 100644 --- a/daemon/dir.c +++ b/daemon/dir.c @@ -29,6 +29,8 @@ #include "daemon.h" #include "actions.h" +GUESTFS_EXT_CMD(str_rm, rm); + int do_rmdir (const char *path) { @@ -67,7 +69,7 @@ do_rm_rf (const char *path) return -1; } - r = command (NULL, &a...