Displaying 4 results from an estimated 4 matches for "25d3c99".
Did you mean:
259399
2016 Feb 02
0
[PATCH 3/3] New API: get-sockdir
...zy_make_sockdir (guestfs_h *g);
extern void guestfs_int_remove_tmpdir (guestfs_h *g);
+extern void guestfs_int_remove_sockdir (guestfs_h *g);
extern void guestfs_int_recursive_remove_dir (guestfs_h *g, const char *dir);
/* whole-file.c */
diff --git a/src/handle.c b/src/handle.c
index 947818c..25d3c99 100644
--- a/src/handle.c
+++ b/src/handle.c
@@ -273,6 +273,10 @@ parse_environment (guestfs_h *g,
return -1;
}
+ str = do_getenv (data, "XDG_RUNTIME_DIR");
+ if (guestfs_int_set_env_runtimedir (g, str) == -1)
+ return -1;
+
return 0;
}
@@ -347,8 +351,9 @@ guestfs_c...
2016 Feb 03
0
[PATCH v2 2/2] New API: get-sockdir
...runtime files.
+
+If it is set, then is used to store temporary sockets. Otherwise,
+F</tmp> is used.
+
+See also L</get-sockdir>,
+L<http://www.freedesktop.org/wiki/Specifications/basedir-spec/>.
+
=back
=head1 SEE ALSO
diff --git a/src/handle.c b/src/handle.c
index 947818c..25d3c99 100644
--- a/src/handle.c
+++ b/src/handle.c
@@ -273,6 +273,10 @@ parse_environment (guestfs_h *g,
return -1;
}
+ str = do_getenv (data, "XDG_RUNTIME_DIR");
+ if (guestfs_int_set_env_runtimedir (g, str) == -1)
+ return -1;
+
return 0;
}
@@ -347,8 +351,9 @@ guestfs_c...
2016 Feb 03
4
[PATCH v2 1/2] launch: add internal helper for socket paths creation
Introduce an internal helper to create paths for sockets -- will be
useful for changing later the logic for placing sockets.
Futhermore, check that the length of sockets won't overflow the buffer
for their filenames.
---
src/guestfs-internal.h | 1 +
src/launch-direct.c | 4 +++-
src/launch-libvirt.c | 10 ++++++----
src/launch.c | 17 +++++++++++++++++
4 files changed, 27
2016 Feb 02
6
[PATCH 1/3] launch: add internal helper for socket paths creation
Introduce an internal helper to create paths for sockets; will be useful
for changing later the logic for placing sockets.
---
src/guestfs-internal.h | 1 +
src/launch-direct.c | 4 +++-
src/launch-libvirt.c | 10 ++++++----
src/launch.c | 15 +++++++++++++++
4 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
index