mailing list of musl libc
 help / color / mirror / code / Atom feed
From: u-igbb@aetey.se
To: musl@lists.openwall.com
Subject: Re: musl 1.0.x branch
Date: Tue, 10 Jun 2014 11:43:51 +0200	[thread overview]
Message-ID: <20140610094351.GE20596@example.net> (raw)
In-Reply-To: <20140609200830.GK179@brightrain.aerifal.cx>

On Mon, Jun 09, 2014 at 04:08:30PM -0400, Rich Felker wrote:
> Having a rolling
> "well-tested and believed stable except for known bugs X, Y, and Z"
> release that's a few versions behind the latest release, and a list of
> commits since then which are purely bug-fixes, might be a good
> practical option. Such pairs of (base-version,list-of-commits) could
> automatically be transformed into tarballs.

This looks good and makes sense.

Despite not having other maintenance-related thresholds
we maintain some local patches and it is easier to apply them
when the changes inside the codebase are limited.

Slightly offtopic:

Of course an even better solution would be to have a somewhat
stable "interface" for applying changes important to us.

We do not use setuid applications (considering them harmful for a number
of reasons).

This makes it possible and quite desirable to be able to control certain
properties of the library at run time. We let a deployment administrator
choose e.g. which name services and authentication means are to be used
for a certain instance of the application - using environment variables
pointing to dedicated hosts/resolv.conf/passwd/group/shadow/pam.d
and similar.

So if musl would have any kind of hooks to implement this (as a
compilation option or say by a convention which would make it easier to
apply patches without rereading/rechecking all the source) it would be
highly valuable.

I understand that this is unconventional and do not expect much of
attention but at least it is worth to name that such a need exists.

Another change we opted to do is switching off any and all rpath
interpretation, which corresponds to our software maintenance routines
and makes it easier and safer for us. The less constraints are hardwired,
the better we can use the software.

(Of course these changes are totally incompatible with the traditional
usage of a "general purpose C library" which is shared between both
non-setuid and setuid applications. To the contrary, different kinds
of applications here get different kinds of the library/ies so that we
would not be stuck even if we discover that we badly need setuid in a
certain case)

Thanks,
Rune



  reply	other threads:[~2014-06-10  9:43 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-06 17:56 Rich Felker
2014-06-06 19:39 ` u-igbb
2014-06-07  6:23   ` Kevin Bortis
2014-06-07 13:16 ` Anthony G. Basile
2014-06-07 18:26 ` Gustavo Zacarias
2014-06-09  9:23 ` Natanael Copa
2014-06-09 20:08   ` Rich Felker
2014-06-10  9:43     ` u-igbb [this message]
2014-06-10 16:03       ` Rich Felker
2014-06-10 16:50         ` Laurent Bercot
2014-06-10 17:37           ` Rich Felker
2014-06-10 19:19             ` Laurent Bercot
2014-06-10 21:01               ` Rich Felker
2014-06-11  1:27                 ` Laurent Bercot
2014-06-10 20:32         ` u-igbb
2014-06-10 21:51           ` Rich Felker
2014-06-11 10:24             ` u-igbb
2014-06-11 13:09               ` Rich Felker
2014-06-11 14:37                 ` u-igbb
2014-06-10 21:25         ` Natanael Copa
2014-06-10 21:13           ` musl 1.0.x branch -- OT u-igbb
2014-06-10 21:55           ` musl 1.0.x branch Rich Felker
2014-06-11 10:41 ` Oliver Schneider
2014-06-11 13:16   ` Rich Felker
2014-06-12 18:46     ` Oliver Schneider
2014-06-13  1:23       ` Rich Felker

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=20140610094351.GE20596@example.net \
    --to=u-igbb@aetey.se \
    --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).