Re: [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicatename service errors
From: Alan Cox
Date: Tue Mar 08 2011 - 10:25:33 EST
On Tue, 08 Mar 2011 15:09:59 +0000
David Howells <dhowells@xxxxxxxxxx> wrote:
> Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > > Define ENONAMESERVICE to indicate "Network name service unavailable".
> > > This can be used to indicate, for example, that an attempt was made by
> > > dns_query() to make a query, but the name server (e.g. a DNS server) it is
> > > supposed to contact didn't answer or that it couldn't determine the
> > > location of a suitable server.
> >
> > Are these in glibc and are there glibc patches submitted and accepted for
> > this ?
>
> No.
>
> Are you saying that I should push them through glibc first - and then submit
> them to the kernel?
I was wondering if at least there was some co-ordination going on so that
functions like perror() produced sensible answers. Otherwise it's
debatable if its actually an improvement for the poor end user ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/