public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Sebastian Huber <sebastian.huber@embedded-brains.de>
To: Jack O'Connor <oconnor663@gmail.com>, newlib@sourceware.org
Subject: Re: /etc/resolv.conf caching bug fixed in glibc
Date: Mon, 07 Aug 2017 05:55:00 -0000	[thread overview]
Message-ID: <94d76cf1-6c65-0c42-f279-48499ab39344@embedded-brains.de> (raw)
In-Reply-To: <CA+6di1k0mdmZpBSV4jLngcDGnQ1zKx=BQFZCeUoTyuRLzNVOBQ@mail.gmail.com>

Hello Jack,

On 03/08/17 17:33, Jack O'Connor wrote:
> Glibc just released version 2.26, with the following note under "major
> new features":
>
>> The GNU C Library will now detect when /etc/resolv.conf has been modified and reload the changed configuration.

Newlib has no networks stack included. It is usually provided by the 
operating systems that use Newlib. On RTEMS for example we use the 
FreeBSD network stack. The FreeBSD resolver checks the 
"/etc/resolv.conf" at most every two seconds (configurable). See

https://github.com/freebsd/freebsd/blob/master/lib/libc/resolv/res_state.c#L67

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

      reply	other threads:[~2017-08-07  5:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-03 15:33 Jack O'Connor
2017-08-07  5:55 ` Sebastian Huber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94d76cf1-6c65-0c42-f279-48499ab39344@embedded-brains.de \
    --to=sebastian.huber@embedded-brains.de \
    --cc=newlib@sourceware.org \
    --cc=oconnor663@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).