# Re: \[PATCH 2/2\] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors

- From: David Howells \<dhowells@redhat.com\>
- Date: 2011-03-08 15:10:18 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2011/03/3687219
- Thread: https://ratatoskr.run/linux-arch/2011/03/3687219/t.md

```text
Alan Cox [ref] 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?  Does the kernel lead or the C library?  And, if the
latter, which C library?  Can I not, for instance, push them through uclibc,
say?

Does submitting to glibc mean I have to sign my copyrights over to the FSF for
that code?  I've never gone through this process.

David
```
