From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29402 invoked from network); 15 Jun 2020 23:31:07 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 15 Jun 2020 23:31:07 -0000 Received: (qmail 26533 invoked by uid 550); 15 Jun 2020 23:31:02 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 26514 invoked from network); 15 Jun 2020 23:31:01 -0000 Date: Mon, 15 Jun 2020 19:30:49 -0400 From: Rich Felker To: John Starks Cc: "musl@lists.openwall.com" Message-ID: <20200615233047.GG6430@brightrain.aerifal.cx> References: <20200614191752.GA13001@voyager> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] RE: [EXTERNAL] Re: [musl] Advocating musl to in windows subsystem and OS X On Sun, Jun 14, 2020 at 08:43:35PM +0000, John Starks wrote: > > From: Markus Wichmann > > 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. Thanks. Can you fill us in on if WSL1 is still a thing that's supported/in-use? If so is there any chance we could get some action on https://github.com/microsoft/WSL/issues/830 ? Rich