curl/src
Isaac Boukris 1d786faee1 unix_socket: add support for abstract unix domain socket
In addition to unix domain sockets, Linux also supports an
abstract namespace which is independent of the filesystem.

In order to support it, add new CURLOPT_ABSTRACT_UNIX_SOCKET
option which uses the same storage as CURLOPT_UNIX_SOCKET_PATH
internally, along with a flag to specify abstract socket.

On non-supporting platforms, the abstract address will be
interpreted as an empty string and fail gracefully.

Also add new --abstract-unix-socket tool parameter.

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Reported-by: Chungtsun Li (typeless)
Reviewed-by: Daniel Stenberg
Reviewed-by: Peter Wu
Closes #1197
Fixes #1061
2017-01-13 16:25:20 +01:00
..
macos s/cURL/curl 2016-11-07 10:36:23 +01:00
.gitignore gitignore: ignore more generated VC Makefiles 2015-09-03 23:35:41 +02:00
CMakeLists.txt s/cURL/curl 2016-11-07 10:36:23 +01:00
Makefile.Watcom s/cURL/curl 2016-11-07 10:36:23 +01:00
Makefile.am src/checksrc.whitelist: removed 2016-04-19 08:56:06 +02:00
Makefile.b32 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
Makefile.inc strcase: make the tool use curl_str[n]equal instead 2016-10-31 21:51:19 +01:00
Makefile.m32 makefile.m32: add crypt32 for winssl builds 2016-06-01 10:39:13 +02:00
Makefile.netware s/cURL/curl 2016-11-07 10:36:23 +01:00
Makefile.vc6 msvc builds: s/rawstr/strcase 2016-10-31 13:35:26 +01:00
curl.rc s/cURL/curl 2016-10-18 13:59:54 +02:00
makefile.amiga s/cURL/curl 2016-11-07 10:36:23 +01:00
makefile.dj s/cURL/curl 2016-11-07 10:36:23 +01:00
mkhelp.pl URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
slist_wc.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
slist_wc.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_binmode.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_binmode.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_bname.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_bname.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_dbg.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
tool_cb_dbg.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_hdr.c checksrc: white space edits to comply to stricter checksrc 2016-11-24 23:58:22 +01:00
tool_cb_hdr.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_prg.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_prg.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_rea.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_rea.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_see.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_see.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_wrt.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_wrt.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cfgable.c preproxy: renamed what was added as SOCKS_PROXY 2016-12-16 16:04:23 +01:00
tool_cfgable.h unix_socket: add support for abstract unix domain socket 2017-01-13 16:25:20 +01:00
tool_convert.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_convert.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_dirhie.c curl: make --create-dirs on windows grok both forward and backward slashes 2016-09-14 07:48:43 +02:00
tool_dirhie.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_doswin.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
tool_doswin.h tool_doswin: Improve sanitization processing 2016-02-05 01:44:27 -05:00
tool_easysrc.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_easysrc.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_formparse.c strcasecompare: all case insensitive string compares ignore locale now 2016-10-31 08:46:35 +01:00
tool_formparse.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_getparam.c unix_socket: add support for abstract unix domain socket 2017-01-13 16:25:20 +01:00
tool_getparam.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_getpass.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_getpass.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
tool_help.c unix_socket: add support for abstract unix domain socket 2017-01-13 16:25:20 +01:00
tool_help.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_helpers.c strcase: make the tool use curl_str[n]equal instead 2016-10-31 21:51:19 +01:00
tool_helpers.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_homedir.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
tool_homedir.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_hugehelp.c.cvs tests: checksrc compliance 2016-12-19 02:31:59 -05:00
tool_hugehelp.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_libinfo.c strcase: make the tool use curl_str[n]equal instead 2016-10-31 21:51:19 +01:00
tool_libinfo.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_main.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_main.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_metalink.c metalink: simplify the hex parsing function 2016-11-02 00:31:49 +01:00
tool_metalink.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_mfiles.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_mfiles.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_msgs.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_msgs.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_operate.c unix_socket: add support for abstract unix domain socket 2017-01-13 16:25:20 +01:00
tool_operate.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_operhlp.c strcasecompare: all case insensitive string compares ignore locale now 2016-10-31 08:46:35 +01:00
tool_operhlp.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_panykey.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_panykey.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_paramhlp.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
tool_paramhlp.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_parsecfg.c curl: support zero-length argument strings in config files 2016-12-02 11:25:35 +01:00
tool_parsecfg.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_sdecls.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_setopt.c proxy: Support HTTPS proxy and SOCKS+HTTP(s) 2016-11-24 23:41:44 +01:00
tool_setopt.h proxy: Support HTTPS proxy and SOCKS+HTTP(s) 2016-11-24 23:41:44 +01:00
tool_setup.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_sleep.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_sleep.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_strdup.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_strdup.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_urlglob.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
tool_urlglob.h checksrc: white space edits to comply to stricter checksrc 2016-11-24 23:58:22 +01:00
tool_util.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_util.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_version.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_vms.c code: style updates 2016-04-03 22:38:36 +02:00
tool_vms.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_writeenv.c checksrc: stricter no-space-before-paren enforcement 2016-12-13 23:39:11 +01:00
tool_writeenv.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_writeout.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
tool_writeout.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_xattr.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_xattr.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00