Lennart Poettering
e70df46b97
nss: always explicitly reset all error variables
...
glibc appears to be broken if we don't explicitly reset all error
variables, let's work around that.
https://bugzilla.redhat.com/show_bug.cgi?id=1125975
2014-08-01 16:06:39 +02:00
Lennart Poettering
7c2a5e264c
nss-resolve: fallback to the class NSS "dns" module if we cannot contact resolved
...
That way DNS resolution works both with and without resolved running.
2014-08-01 01:55:15 +02:00
Lennart Poettering
878cd63db2
resolved: fix bus signatures to follow family as int change
2014-07-18 21:01:07 +02:00
Lennart Poettering
0dd25fb9f0
change type for address family to "int"
...
Let's settle on a single type for all address family values, even if
UNIX is very inconsitent on the precise type otherwise. Given that
socket() is the primary entrypoint for the sockets API, and that uses
"int", and "int" is relatively simple and generic, we settle on "int"
for this.
2014-07-18 16:10:51 +02:00
Lennart Poettering
9d48598533
shared: rename PROTO_ADDRESS_SIZE() to FAMILY_ADDRESS_SIZE()
...
We mostly use "family" to refer to AF_INET, AF_INET6, etc, let's use
this terminology here, too
2014-07-18 12:38:32 +02:00
Lennart Poettering
309e9d86f0
resolved: properly pass canonical name information to resolving client
...
Also, hook up nss-resolve to make use of this information
2014-07-16 22:51:50 +02:00
Lennart Poettering
4d1cf1e229
resolved: add small NSS module that uses resolved to resolve DNS names
2014-07-16 03:31:30 +02:00