mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Markus Wichmann <nullplan@gmx.net>
To: musl@lists.openwall.com
Subject: Re: [musl] Advocating musl to in windows subsystem and OS X
Date: Sun, 14 Jun 2020 21:17:52 +0200	[thread overview]
Message-ID: <20200614191752.GA13001@voyager> (raw)
In-Reply-To: <CAHCeaGPFbm7c-mrcTScwTEk-=zbBw_K==n3t00q36jn7+a+qow@mail.gmail.com>

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).

Ciao,
Markus

  parent reply	other threads:[~2020-06-14 19:18 UTC|newest]

Thread overview: 12+ 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 [this message]
2020-06-14 20:43   ` [musl] RE: [EXTERNAL] " John Starks
2020-06-15 23:30     ` Rich Felker
2020-06-15 23:59 ` Jeffrey Walton
2020-06-16  0:11 John Starks

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=20200614191752.GA13001@voyager \
    --to=nullplan@gmx.net \
    --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).