busybox/include
Jonh Wendell 9106107a50 Make unix (local) sockets work without IPv6 enabled
The xsocket_type() function had an optional "family" argument
that was enabled only if IPv6 is enabled. In the case of the
function was called with a valid AF_UNIX argument, and IPv6 is
disabled, this argument was silently ignored.

This patch makes the "family" argument mandatory, while keeping
the old behavior i.e., if AF_UNSPEC is passed, we try first IPv6
(if it's enabled) and fallback to IPv4.

Also I changed all callers of xsocket_type() to reflect its new
interface.

Signed-off-by: Jonh Wendell <jonh.wendell@vexcorp.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-02-09 15:14:33 +01:00
..
.gitignore .gitignore: add missing ignores 2011-03-06 19:54:15 +01:00
applet_metadata.h applet_tables: do not include libbb.h, that header ir for target builds 2011-03-28 01:23:38 +02:00
applets.src.h mdev: expand --help so that it's actually useful. 2011-09-19 12:18:11 +02:00
ar.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
bb_archive.h suppress a "integer overflow in expression" waring on big endian. Closes 4405 2011-12-05 04:54:14 +01:00
busybox.h applet_tables: do not include libbb.h, that header ir for target builds 2011-03-28 01:23:38 +02:00
dump.h *: whitespace fixes 2010-10-28 18:57:19 +02:00
fix_u32.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
grp_.h platform.h: define endgrent() and endpwent() as no-ops on Android 2012-01-06 16:23:18 +01:00
inet_common.h more thorough fix for systems with strange socklen_t 2010-02-02 12:45:38 +01:00
libbb.h Make unix (local) sockets work without IPv6 enabled 2012-02-09 15:14:33 +01:00
liblzo_interface.h *: move lzo compressor code to archival/libunarchive/. No code changes 2010-11-03 02:27:49 +01:00
platform.h Move Adroid endgrent() and endpwent() NOPS to libbb.h 2012-01-08 16:11:38 +01:00
pwd_.h platform.h: define endgrent() and endpwent() as no-ops on Android 2012-01-06 16:23:18 +01:00
rtc_.h whitespace cleanup 2010-10-29 11:46:52 +02:00
shadow_.h move passwd, shadow, group and gshadow path definitions to libbb.h 2011-01-16 23:39:45 +01:00
unicode.h ash,hush: recheck LANG before every line input 2011-03-23 17:59:27 +01:00
usage.src.h move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
volume_id.h blkid: optional support for TYPE="fstype" 2010-12-30 00:40:11 +01:00
xatonum.h udhcp: finish support of classless static routes 2011-12-16 17:05:52 +01:00
xregex.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00