search for: str_tar

Displaying 8 results from an estimated 8 matches for "str_tar".

Did you mean: str_arg
2015 Jul 15
1
[PATCH 1/2] actions: tar_out: add xattrs and selinux optargs
...ir, const char *compress, int numericowner, } /* "tar -C /sysroot%s -cf - ." but we have to quote the dir. */ - if (asprintf_nowarn (&cmd, "%s -C %Q%s%s%s%s -cf - .", + if (asprintf_nowarn (&cmd, "%s -C %Q%s%s%s%s%s%s -cf - .", str_tar, buf, filter, numericowner ? " --numeric-owner" : "", exclude_from_file ? " -X " : "", - exclude_from_file ? exclude_from_file : "") == -1) { +...
2016 Oct 13
1
[PATCH] tar-in: Add workaround because tar doesn't restore capabilities (RHBZ#1384241).
...ar.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/daemon/tar.c b/daemon/tar.c index c5d9524..2ebd2fe 100644 --- a/daemon/tar.c +++ b/daemon/tar.c @@ -190,7 +190,11 @@ do_tar_in (const char *dir, const char *compress, int xattrs, int selinux, int a str_tar, dir, filter, chown_supported ? "" : "--no-same-owner ", - xattrs ? "--xattrs " : "", + /* --xattrs-include=* is a workaround for a bug + * in t...
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...t;, "-U", uuid); + return swaponoff (str_swapoff, "-U", uuid); } diff --git a/daemon/tar.c b/daemon/tar.c index 13f87e7..dc4ddc2 100644 --- a/daemon/tar.c +++ b/daemon/tar.c @@ -30,6 +30,8 @@ #include "actions.h" #include "optgroups.h" +GUESTFSD_EXT_CMD(str_tar, tar); + int optgroup_xz_available (void) { @@ -155,7 +157,8 @@ do_tar_in (const char *dir, const char *compress) close (fd); /* "tar -C /sysroot%s -xf -" but we have to quote the dir. */ - if (asprintf_nowarn (&cmd, "tar -C %R%s -xf - %s2> %s", + if (asprint...
2012 Aug 30
1
[PATCH] collect list of called external commands
...ot;, "-U", uuid); + return swaponoff (str_swapoff, "-U", uuid); } diff --git a/daemon/tar.c b/daemon/tar.c index 13f87e7..86987b1 100644 --- a/daemon/tar.c +++ b/daemon/tar.c @@ -30,6 +30,8 @@ #include "actions.h" #include "optgroups.h" +GUESTFS_EXT_CMD(str_tar, tar); + int optgroup_xz_available (void) { @@ -155,7 +157,8 @@ do_tar_in (const char *dir, const char *compress) close (fd); /* "tar -C /sysroot%s -xf -" but we have to quote the dir. */ - if (asprintf_nowarn (&cmd, "tar -C %R%s -xf - %s2> %s", + if (asprint...
2017 Jul 27
0
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
...-1) { reply_with_error ("%s: %s", directory, err); return -1; diff --git a/daemon/tar.c b/daemon/tar.c index c23aa0a86..53c5bc138 100644 --- a/daemon/tar.c +++ b/daemon/tar.c @@ -35,8 +35,6 @@ #include "actions.h" #include "optgroups.h" -GUESTFSD_EXT_CMD(str_tar, tar); - int optgroup_xz_available (void) { @@ -187,7 +185,7 @@ do_tar_in (const char *dir, const char *compress, int xattrs, int selinux, int a /* "tar -C /sysroot%s -xf -" but we have to quote the dir. */ if (asprintf_nowarn (&cmd, "%s -C %R%s -xf - %s%s%s%s2> %s&...
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
...-1) { reply_with_error ("%s: %s", directory, err); return -1; diff --git a/daemon/tar.c b/daemon/tar.c index c23aa0a86..85c5b8bca 100644 --- a/daemon/tar.c +++ b/daemon/tar.c @@ -35,7 +35,7 @@ #include "actions.h" #include "optgroups.h" -GUESTFSD_EXT_CMD(str_tar, tar); +DECLARE_EXTERNAL_COMMANDS ("tar") int optgroup_xz_available (void) @@ -187,7 +187,7 @@ do_tar_in (const char *dir, const char *compress, int xattrs, int selinux, int a /* "tar -C /sysroot%s -xf -" but we have to quote the dir. */ if (asprintf_nowarn (&cmd...
2017 Jul 27
3
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
This is a simpler patch that removes GUESTFSD_EXT_CMD completely.
2017 Jul 24
6
[PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
Replace GUESTFSD_EXT_CMD with a command line option ‘./guestfsd --print-external-commands’