mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: musl "Linux-dependencies" info [was Re: [musl] Timeline for 1.1.20?]
Date: Sun, 29 Jul 2018 11:49:53 -0400	[thread overview]
Message-ID: <20180729154953.GA1392@brightrain.aerifal.cx> (raw)
In-Reply-To: <CAF4BF-QDXuLJ1Vzv38uTvJaEyO+uf82Qhz-TRhL2T7ZHb0ECjg@mail.gmail.com>

On Sun, Jul 29, 2018 at 07:40:25AM -0400, Christopher Friedt wrote:
> On Sat, Jul 28, 2018 at 3:55 PM Rich Felker <dalias@libc.org> wrote:
> > Yes, but I don't know how to set it up, and any proper approach to
> > setting it up really shouldn't require the project maintainer to know
> > how, since it should revolve around a separate CI project pulling
> > musl, libc-test, and possibly other sources (e.g. mcm) as either
> > subrepos or part of the build scripts, then evaluating the resutls.
> 
> I'll set up a .gitlab-ci.yml file - likely will use one 'pipelilne' to
> trigger other pipelines that exercise all combinations here:
> 
> https://github.com/richfelker/musl-cross-make#supported-targets
> 
> Speaking of which, one of my eventual use-cases is an rtos that uses
> the same syscall numbers as linux for each arch. Originally I was
> using bionic libc, but it's just difficult to maintain a permanent
> fork. Beyond syscall numbers, is there any specific reason that musl
> requires linux?

The other "Linux" interfaces it uses are parts of /proc (needed for
filling in gaps of some syscalls' functionality), some netlink
functionality (for network interface enumeration interfaces), and some
ioctls (for determining if something is a tty, some socket operations,
etc.).

There are also some de facto standard pathnames used for configuration
(resolv.conf, passwd, etc.) on top of the standard ones specified by
POSIX (/dev/null, etc.).

Some details are in the (incomplete, outdated, but IMO very good on
what it does have) musl documentation:

https://www.musl-libc.org/manual.html

Rich


  reply	other threads:[~2018-07-29 15:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-11  7:17 Timeline for 1.1.20? ardi
2018-07-16 17:20 ` Rich Felker
2018-07-17  7:56   ` ardi
2018-07-28 17:22   ` Rob Landley
2018-07-28 17:43     ` Christopher Friedt
2018-07-28 19:55       ` Rich Felker
2018-07-29 11:40         ` Christopher Friedt
2018-07-29 15:49           ` Rich Felker [this message]
2018-07-29 16:03           ` Rich Felker
2018-07-29 12:50         ` [RFC/RFT] musl: 1.1.20 prelease testing Christian Lamparter

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=20180729154953.GA1392@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --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).