* Re: [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors [not found] ` <20110307160042.2ddc8e65@lxorguk.ukuu.org.uk> @ 2011-03-08 15:09 ` David Howells 2011-03-08 15:09 ` David Howells 2011-03-08 15:25 ` Alan Cox 0 siblings, 2 replies; 6+ messages in thread From: David Howells @ 2011-03-08 15:09 UTC (permalink / raw) To: Alan Cox Cc: dhowells, linux-security-module, keyrings, linux-arch, linux-api, linux-kernel Alan Cox <alan@lxorguk.ukuu.org.uk> 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors 2011-03-08 15:09 ` [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors David Howells @ 2011-03-08 15:09 ` David Howells 2011-03-08 15:25 ` Alan Cox 1 sibling, 0 replies; 6+ messages in thread From: David Howells @ 2011-03-08 15:09 UTC (permalink / raw) To: Alan Cox Cc: dhowells, linux-security-module, keyrings, linux-arch, linux-api, linux-kernel Alan Cox <alan@lxorguk.ukuu.org.uk> 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors 2011-03-08 15:09 ` [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors David Howells 2011-03-08 15:09 ` David Howells @ 2011-03-08 15:25 ` Alan Cox 2011-03-08 15:25 ` Alan Cox 2011-03-08 16:37 ` David Howells 1 sibling, 2 replies; 6+ messages in thread From: Alan Cox @ 2011-03-08 15:25 UTC (permalink / raw) To: David Howells Cc: linux-security-module, keyrings, linux-arch, linux-api, linux-kernel On Tue, 08 Mar 2011 15:09:59 +0000 David Howells <dhowells@redhat.com> wrote: > Alan Cox <alan@lxorguk.ukuu.org.uk> 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 ? ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors 2011-03-08 15:25 ` Alan Cox @ 2011-03-08 15:25 ` Alan Cox 2011-03-08 16:37 ` David Howells 1 sibling, 0 replies; 6+ messages in thread From: Alan Cox @ 2011-03-08 15:25 UTC (permalink / raw) To: David Howells Cc: linux-security-module, keyrings, linux-arch, linux-api, linux-kernel On Tue, 08 Mar 2011 15:09:59 +0000 David Howells <dhowells@redhat.com> wrote: > Alan Cox <alan@lxorguk.ukuu.org.uk> 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 ? ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors 2011-03-08 15:25 ` Alan Cox 2011-03-08 15:25 ` Alan Cox @ 2011-03-08 16:37 ` David Howells 2011-03-08 16:37 ` David Howells 1 sibling, 1 reply; 6+ messages in thread From: David Howells @ 2011-03-08 16:37 UTC (permalink / raw) To: Alan Cox Cc: dhowells, linux-security-module, keyrings, linux-arch, linux-api, linux-kernel Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: > 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 ? Fair point. That's why I cc'd the messages to linux-api@, but I'm not sure who actually reads it, besides Michael Kerrisk. I guess it's probably a good idea to wave my suggestions on the glibc list at least. David ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors 2011-03-08 16:37 ` David Howells @ 2011-03-08 16:37 ` David Howells 0 siblings, 0 replies; 6+ messages in thread From: David Howells @ 2011-03-08 16:37 UTC (permalink / raw) To: Alan Cox Cc: dhowells, linux-security-module, keyrings, linux-arch, linux-api, linux-kernel Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: > 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 ? Fair point. That's why I cc'd the messages to linux-api@, but I'm not sure who actually reads it, besides Michael Kerrisk. I guess it's probably a good idea to wave my suggestions on the glibc list at least. David ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-03-08 16:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20110307150208.28218.89348.stgit@warthog.procyon.org.uk>
[not found] ` <20110307150218.28218.84916.stgit@warthog.procyon.org.uk>
[not found] ` <20110307160042.2ddc8e65@lxorguk.ukuu.org.uk>
2011-03-08 15:09 ` [PATCH 2/2] Define ENONAMESERVICE and ENAMEUNKNOWN to indicate name service errors David Howells
2011-03-08 15:09 ` David Howells
2011-03-08 15:25 ` Alan Cox
2011-03-08 15:25 ` Alan Cox
2011-03-08 16:37 ` David Howells
2011-03-08 16:37 ` David Howells
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox