From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: [PATCH 1/3] PIE support for arm (copyright...)
Date: Wed, 10 Jul 2013 17:03:43 -0400 [thread overview]
Message-ID: <20130710210343.GH29800@brightrain.aerifal.cx> (raw)
In-Reply-To: <20130710192844.GC29800@brightrain.aerifal.cx>
On Wed, Jul 10, 2013 at 03:28:44PM -0400, Rich Felker wrote:
> On Wed, Jul 10, 2013 at 12:23:29PM -0700, Isaac wrote:
> > On Wed, Jul 10, 2013 at 04:38:59PM +0300, Timo Ter??s wrote:
> > > ---
> > > Originally based on the glibc's implementation, but as this is
> > > very short function (of which only maybe 10 lines are from the
> > > original work), and the rest is modified to suit musl. I believe
> > > we could just place on public domain.
> >
> > (Disclaimer: IANAL)
> >
> > Ick. Don't do that.
> > At least, not without review from a regular glibc contributor/maintainer,
> > Eben Moglen, the author, or another authority who could state that it is
> > the FSF's position that this does not infringe.
> >
> > While it seems minimal, there are other considerations:
> > (0) If a court disagrees and rules that it is copyright infringement,
> > what happens?
> >
> > (1) If it gets publicized, the potential for FUD is huge.
> >
> > (2) Even if it's fair use/de minimis, there is still a risk of legal action.
> > And that alone is a big problem.
> > In fact, the perception of a risk is a problem.
>
> Agreed. There is no reason to even look at, much less copy, glibc code
> to do this. All that's needed for Scrt1.s is to make crt1.s
> position-independent.
I just wrote and committed my own Scrt1.s; it seems to be working. I
believe the approach is slightly different, avoiding GOT slots for
symbols which must be defined in the main program. (Note that main
need not be defined in the main program; it can be defined in a shared
library!)
Rich
prev parent reply other threads:[~2013-07-10 21:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-10 13:38 [PATCH 1/3] PIE support for arm Timo Teräs
2013-07-10 13:39 ` [PATCH 2/3] Unwind support for ARM EABI Timo Teräs
2013-07-10 17:35 ` Timo Teras
2013-07-10 18:05 ` Rich Felker
2013-07-10 18:41 ` [PATCH v2] " Timo Teräs
2013-07-10 19:55 ` [PATCH v3] " Timo Teräs
2013-07-10 13:39 ` [PATCH 3/3] [FYI] fix dynamic linker dso loading Timo Teräs
2013-07-10 15:00 ` Rich Felker
2013-07-10 15:47 ` Timo Teras
2013-07-10 16:52 ` Richard Felker
2013-07-10 19:23 ` [PATCH 1/3] PIE support for arm (copyright...) Isaac
2013-07-10 19:28 ` Rich Felker
2013-07-10 21:03 ` Rich Felker [this message]
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=20130710210343.GH29800@brightrain.aerifal.cx \
--to=dalias@aerifal.cx \
--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).