search for: socklen

Displaying 20 results from an estimated 94 matches for "socklen".

Did you mean: sock_len
2019 May 28
1
[libnbd PATCH] connect: Better handling of long socket names
...diff --git a/generator/states-connect.c b/generator/states-connect.c index a410e34..014f6bb 100644 --- a/generator/states-connect.c +++ b/generator/states-connect.c @@ -86,15 +86,20 @@ } CONNECT_UNIX.START: - struct sockaddr_un sun; + struct sockaddr_un sun = { .sun_family = AF_UNIX }; socklen_t len; + size_t socklen; assert (h->unixsocket != NULL); - sun.sun_family = AF_UNIX; - memset (sun.sun_path, 0, sizeof (sun.sun_path)); - strncpy (sun.sun_path, h->unixsocket, sizeof (sun.sun_path) - 1); - len = sizeof (sun.sun_family) + strlen (sun.sun_path) + 1; + socklen = strle...
1998 May 14
1
samba main cvs branch seems to be broken on 64-bit boxes.....
hi there :) the code in util.c seems to have some bugs w/regard to compilation on 64-bit machines. in this case, the hardware is an Alpha running redhat 4.2 with pam turned off in the makefile. i get a whole series of errors, all of which say "passing arg 'n' of 'function' from incompatible pointer type. in util.c, checked out of the main branch the day before yesterday,
2013 Aug 20
0
[PATCH] modernize configure.ac, update gnulib macros and add the havelib module, remove aclocal.m4
...he attached patch is relatively big, so I have bzipped it to get below mailman's limit. From the commit msg: - aclocal.m4: we don't keep auto-generated files (says Wayne) - pull in required gnulib macros to avoid the overhead of using gnulib's build process and requiring gnulib - socklen is now an own m4 module (socklen.m4) - HAVE_SOCKLEN_T is now gl_TYPE_SOCKLEN_T - add havelib module (lib-ld.m4, lib-link.m4, lib-prefix.m4) tested with: - aclocal (GNU automake) 1.12.4 - autoconf (GNU Autoconf) 2.69 (and also autoconf (GNU Autoconf) 2.63 ) Nils -------------- next part ---------...
2010 Mar 04
1
Making tftpd (hpa) firewall frienldy
...d to be accessible at this point */ @@ -947,10 +960,6 @@ } /* Process the request... */ - if (pick_port_bind(peer, &myaddr, portrange_from, portrange_to) < 0) { - syslog(LOG_ERR, "bind: %m"); - exit(EX_IOERR); - } if (connect(peer, &from.sa, SOCKLEN(&from)) < 0) { syslog(LOG_ERR, "connect: %m");
2017 Mar 03
2
[PATCH 1/2] Use gnulib set_nonblocking_flag function instead of fcntl.
...pread.m4 /printf.m4 /priv-set.m4 @@ -186,12 +189,14 @@ /safe-read.m4 /safe-write.m4 /save-cwd.m4 +/sched_h.m4 /secure_getenv.m4 /select.m4 /servent.m4 /setenv.m4 /setlocale.m4 /sigaction.m4 +/sig_atomic_t.m4 /signalblocking.m4 /signal_h.m4 /signed.m4 @@ -202,6 +207,7 @@ /sockets.m4 /socklen.m4 /sockpfaf.m4 +/spawn_h.m4 /ssize_t.m4 /stat.m4 /stat-time.m4 @@ -256,6 +262,9 @@ /utimes.m4 /vasnprintf.m4 /vasprintf.m4 +/vsnprintf.m4 +/waitpid.m4 +/wait-process.m4 /warnings.m4 /warn-on-use.m4 /wchar_h.m4 -- 2.9.3
2011 Jun 21
0
builder-ubuntu libguestfs FAILED build step e1e78bcef5e4654bd2456bd696840329359d35cd
...rmdir-tests safe-read same-inode save-cwd select select-tests servent setenv setenv-tests setlocale setlocale-tests setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket socketlib sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-over...
2011 Jun 14
1
builder-debian libguestfs FAILED build step 4ee190628bc05f0c8fad1f6d9c3e85619a91e8b8
...rmdir-tests safe-read same-inode save-cwd select select-tests servent setenv setenv-tests setlocale setlocale-tests setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket socketlib sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-over...
2011 Jul 12
0
builder-debian libguestfs FAILED build step c0f72f13c075a754afa7870ecf105138fba821bb
...rmdir-tests safe-read same-inode save-cwd select select-tests servent setenv setenv-tests setlocale setlocale-tests setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket socketlib sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-over...
2011 Jun 21
1
builder-debian libguestfs FAILED build step e1e78bcef5e4654bd2456bd696840329359d35cd
...rmdir-tests safe-read same-inode save-cwd select select-tests servent setenv setenv-tests setlocale setlocale-tests setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket socketlib sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-over...
2011 Jul 08
1
builder-debian libguestfs FAILED build step ebe3d8f43a0ab7f60f3c1c612f117e793179f644
...rmdir-tests safe-read same-inode save-cwd select select-tests servent setenv setenv-tests setlocale setlocale-tests setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket socketlib sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-over...
2011 Jul 19
0
builder-debian libguestfs FAILED build step d82438431c1551610eb7d9945fa76d6387534582
...rmdir-tests safe-read same-inode save-cwd select select-tests servent setenv setenv-tests setlocale setlocale-tests setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket socketlib sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-over...
2011 Jul 15
0
builder-debian libguestfs FAILED build step 1f0c650c8ffdf0602ec74b999f62d3efa6822c96
...rmdir-tests safe-read same-inode save-cwd select select-tests servent setenv setenv-tests setlocale setlocale-tests setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket socketlib sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-over...
2010 Dec 07
1
builder-ubuntu libguestfs FAILED build step 4b8f70d46dcfed1489c97f822e263b8615f21ea0
...read-file read-file-tests readlink readlink-tests realloc realloc-posix rmdir rmdir-tests safe-read safe-write same-inode save-cwd select select-tests servent setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-tests string string-tests strndup st...
2010 Dec 07
0
builder-ubuntu libguestfs FAILED build step 21810ade12e43fb4d8bfdcefb37a7d8bbe9eef8c
...read-file read-file-tests readlink readlink-tests realloc realloc-posix rmdir rmdir-tests safe-read safe-write same-inode save-cwd select select-tests servent setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-tests string string-tests strndup st...
2011 Jan 28
0
builder-ubuntu libguestfs FAILED build step f060d5bcd40b4a6506d7994e67d57dccab1651b8
...read-file read-file-tests readlink readlink-tests realloc realloc-posix rmdir rmdir-tests safe-read safe-write same-inode save-cwd select select-tests servent setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-tests string string-tests strndup st...
2011 Jan 28
1
builder-debian libguestfs FAILED build step 82f5fdb0dbbc0c7b04861edeadf70c86c9342df2
...read-file read-file-tests readlink readlink-tests realloc realloc-posix rmdir rmdir-tests safe-read safe-write same-inode save-cwd select select-tests servent setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-tests string string-tests strndup st...
2010 Dec 14
1
builder-debian libguestfs FAILED build step dec770f171329868081985ca0aa3d52eb3759935
...read-file read-file-tests readlink readlink-tests realloc realloc-posix rmdir rmdir-tests safe-read safe-write same-inode save-cwd select select-tests servent setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-tests string string-tests strndup st...
2011 Jan 18
1
builder-debian libguestfs FAILED build step 41bbc0a7a3f3cd768c83183327ffc562d2040a83
...read-file read-file-tests readlink readlink-tests realloc realloc-posix rmdir rmdir-tests safe-read safe-write same-inode save-cwd select select-tests servent setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-tests string string-tests strndup st...
2011 Jun 21
0
builder-debian libguestfs FAILED tests e1e78bcef5e4654bd2456bd696840329359d35cd
...rmdir-tests safe-read same-inode save-cwd select select-tests servent setenv setenv-tests setlocale setlocale-tests setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket socketlib sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-over...
2011 Mar 04
1
builder-debian libguestfs FAILED build step eda9826d25336bcf661700270c580d4d62128750
...read-file read-file-tests readlink readlink-tests realloc realloc-posix rmdir rmdir-tests safe-read safe-write same-inode save-cwd select select-tests servent setsockopt size_max sleep sleep-tests snprintf snprintf-tests socket sockets sockets-tests socklen ssize_t stat stat-tests stat-time stat-time-tests stdbool stdbool-tests stddef stddef-tests stdint stdint-tests stdio stdio-tests stdlib stdlib-tests strchrnul strchrnul-tests strdup-posix streq strerror strerror-tests string string-tests strndup st...