search for: send_fd

Displaying 12 results from an estimated 12 matches for "send_fd".

Did you mean: send_df
2010 Sep 09
2
configure error
...configure: program exited with status 1 It seems, that the last changes in "src/lib/fdpass.c" are the reason. ----------------------------------------------------------------------------- 109a110 > void *cmsg_data; 132c133,134 < *((int *) CMSG_DATA(cmsg)) = send_fd; --- > cmsg_data = CMSG_DATA(cmsg); > *(int *)cmsg_data = send_fd; 166a169 > void *cmsg_data; 196,197c199,202 < else < *fd = *((int *) CMSG_DATA(cmsg)); --- > else { > cmsg_data = CMSG_DATA(cmsg); &...
2013 Jan 31
7
[PATCH] libxl: pass debug flag down to libxl_domain_suspend
...e_domain_core_begin(domid, override_config_file, &config_data, &config_len); @@ -3358,7 +3358,9 @@ static void migrate_domain(uint32_t domi xtl_stdiostream_adjust_flags(logger, XTL_STDIOSTREAM_HIDE_PROGRESS, 0); - rc = libxl_domain_suspend(ctx, domid, send_fd, LIBXL_SUSPEND_LIVE, NULL); + if (debug) + flags |= LIBXL_SUSPEND_DEBUG; + rc = libxl_domain_suspend(ctx, domid, send_fd, flags, NULL); if (rc) { fprintf(stderr, "migration sender: libxl_domain_suspend failed" " (rc=%d)\n", rc); @@ -37...
2013 Jan 07
3
[PATCH] btrfs: add "no file data" flag to btrfs send ioctl
...+/* + * Caller doesn''t want file data in the send stream, even if the + * search of clone sources doesn''t find an extent. UPDATE_EXTENT + * commands will be sent instead of WRITE commands. + */ +#define BTRFS_SEND_FLAG_NO_FILE_DATA 0x1 + struct btrfs_ioctl_send_args { __s64 send_fd; /* in */ __u64 clone_sources_count; /* in */ diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index e78b297..d725536 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -85,6 +85,7 @@ struct send_ctx { u32 send_max_size; u64 total_send_size; u64 cmd_send_size[BTRFS_SEND_C_MAX + 1]; + u64...
2012 Aug 15
2
[PATCH] libxl: make domain resume API asynchronous
...resume(libxl_ctx *ctx, uint32_t domid, int suspend_cancel, + const libxl_asyncop_how *ao_how) + LIBXL_EXTERNAL_CALLERS_ONLY; int libxl_domain_remus_start(libxl_ctx *ctx, libxl_domain_remus_info *info, uint32_t domid, int send_fd, int recv_fd, diff -r 30bf79cc14d9 -r 7cec0543f67c tools/libxl/libxl_dom.c --- a/tools/libxl/libxl_dom.c Wed Aug 15 14:45:21 2012 +0100 +++ b/tools/libxl/libxl_dom.c Wed Aug 15 16:58:21 2012 +0100 @@ -1121,7 +1121,7 @@ static int libxl__remus_domain_resume_ca STATE_AO_GC(dss->ao); /*...
2009 Nov 04
0
PATCH: fast copy of files in local server mode
...23 12:26:40.000000000 +0300 @@ -29,6 +29,7 @@ #include "rsync.h" #include "ifuncs.h" +#include <linux/socket.h> /** If no timeout is specified then use a 60 second select timeout */ #define SELECT_TIMEOUT 60 @@ -1722,6 +1723,82 @@ writefd(f, str, len); } +int send_fd(int socket, int fd_to_send) +{ + struct msghdr message; + struct iovec iov[1]; + struct cmsghdr *control_message = NULL; + char buffer[CMSG_SPACE(sizeof(int))], data[1]; + int ret; + + memset(&message, 0, sizeof(struct msghdr)); + memset(buffer, 0, CMSG_SPACE(sizeof(int))); + + data[0] = 'F...
2016 May 18
0
[ANNOUNCE] libxcb 1.12
...dition easier to follow in _c_complex() c_client.py: use pattern matching with enumerate() c_client.py: don't generate useless empty /** < */ comments Uli Schlachter (10): Make some functions also work on error connections xcb_get_setup(): Never return NULL xcb_send_fd(): Always close fds send_fds(): Make sure no other thread interrupts us Add xcb_send_request_with_fds() and *_with_fds64() Code generator: Use xcb_send_request_with_fds() send_fds(): Handle too many outstanding FDs to send Fix a thread hang with xcb_wait_for_special_ev...
2012 Nov 02
2
Remus: Xen 4.2.1 with Debian 6.0 does not work
_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
2012 Nov 02
2
Remus: Xen 4.2.1 with Debian 6.0 does not work
_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
2013 Apr 10
0
[PATCH] Btrfs-progs: add send option for using new end-cmd semantic
...efine BTRFS_SEND_FLAG_OMIT_STREAM_HEADER 0x2 + +/* + * Omit the command at the end of the stream that indicated the end + * of the stream. This option is used when multiple snapshots are + * sent back to back. + */ +#define BTRFS_SEND_FLAG_OMIT_END_CMD 0x4 struct btrfs_ioctl_send_args { __s64 send_fd; /* in */ -- 1.8.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
2006 Sep 12
1
openssh (OpenBSD) , bsdauth and tis authsrv
nuqneH, I've tried using TIS authsrv authentication via bsd auth and found it quite limited. The most important restriction it does not log ip and fqdn of the remote peer, nor the application name, to the authentication server. It does not matter much for TIS authsrv, but since other applications do provide such information, our authsrv version uses it for extra authentication restrictions.
2013 Apr 06
3
btrfs-progs: re-add send-test
..."ERROR: pipe failed. %s\n", strerror(ret)); + goto out; + } + + ret = pthread_create(&t_read, &t_attr, process_thread, &r); + if (ret < 0) { + ret = errno; + fprintf(stderr, "ERROR: pthread create failed. %s\n", + strerror(ret)); + goto out; + } + + io_send.send_fd = pipefd[1]; + io_send.clone_sources_count = 0; + io_send.clone_sources = NULL; + io_send.parent_root = 0; + io_send.flags = BTRFS_SEND_FLAG_NO_FILE_DATA; + + ret = ioctl(subvol_fd, BTRFS_IOC_SEND, &io_send); + if (ret) { + ret = errno; + fprintf(stderr, "ERROR: send ioctl failed with %d...
2013 Oct 21
36
[PATCH 0 of 5 V3] Remus/Libxl: Network buffering support
This patch series adds support for network buffering in the Remus codebase in libxl. Changes in V3: [1/5] Fix redundant checks in configure scripts (based on Ian Campbell''s suggestions) [2/5] Introduce locking in the script, during IFB setup. Add xenstore paths used by netbuf scripts to xenstore-paths.markdown [3/5] Hotplug scripts setup/teardown invocations are now