mailing list of musl libc
 help / color / mirror / code / Atom feed
From: John Starks <John.Starks@microsoft.com>
To: "musl@lists.openwall.com" <musl@lists.openwall.com>
Subject: [musl] RE: [EXTERNAL] Re: [musl] Advocating musl to in windows subsystem and OS X
Date: Sun, 14 Jun 2020 20:43:35 +0000	[thread overview]
Message-ID: <BN7PR21MB16844C6415A2C8A365FA5523E09F0@BN7PR21MB1684.namprd21.prod.outlook.com> (raw)
In-Reply-To: <20200614191752.GA13001@voyager>

> From: Markus Wichmann <nullplan@gmx.net>
> On Fri, Jun 12, 2020 at 06:56:28PM +0200, Brian Peregrine wrote:
> > Microsoft probably uses glibc (as the subsystem seems to be
> > canonical-made and they use glibc in ubuntu),
> 
> The distribution you install is just a collection of the exact binaries you would
> get in a normal install. Therefore it is the distribution itself which has a libc,
> and whether that is glibc, musl, or dietlibc (just to name an utterly outlandish
> option) is up to the distribution.
> However, there is one additional file installed, called /init, which is also the
> root of the emulated process tree. And that file is statically linked against
> musl (as you can tell by running "strings" on it). It apparently generates a
> couple of files from Windows' current system settings (like /etc/resolv.conf).

Yes, originally we dynamically linked our infrastructure binaries to glibc and relied on the distro to ship it. These days we are happy users of (statically-linked) musl. We additionally try to make sure that musl-based distros such as Alpine work well within WSL.

  reply	other threads:[~2020-06-14 20:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-12 16:56 Brian Peregrine
2020-06-12 17:37 ` Rich Felker
2020-06-12 19:05   ` Luca Barbato
2020-06-12 19:25     ` Ariadne Conill
2020-06-12 19:38       ` Szabolcs Nagy
2020-06-12 19:08   ` Dmitry Samersoff
2020-06-12 19:24     ` Ariadne Conill
2020-06-14 19:17 ` Markus Wichmann
2020-06-14 20:43   ` John Starks [this message]
2020-06-15 23:30     ` [musl] RE: [EXTERNAL] " Rich Felker
2020-06-15 23:59 ` Jeffrey Walton

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=BN7PR21MB16844C6415A2C8A365FA5523E09F0@BN7PR21MB1684.namprd21.prod.outlook.com \
    --to=john.starks@microsoft.com \
    --cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).