mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: libhybris and musl?
Date: Wed, 3 Sep 2014 18:35:53 -0400	[thread overview]
Message-ID: <20140903223553.GN12888@brightrain.aerifal.cx> (raw)
In-Reply-To: <CALONj1eN5GFW7czftpTscL_rFoEZ4UFoz8ehnUGrpzd9v-4MpA@mail.gmail.com>

On Tue, Sep 02, 2014 at 11:25:20AM +0200, Wermut wrote:
> I think the following blog post explains the concept nicely:
> http://groleo.wordpress.com/2013/07/22/brief-intro-to-libhybris/
> 
> I simply overrites the bionic symbols and provides glibc compatible calls.
> This solution works very nicely, but can have problems if threading is
> involved.
> 
> Also good references from the original creator of libhybris:
> http://mer-project.blogspot.fi/2013/04/wayland-utilizing-android-gpu-drivers.html
> http://mer-project.blogspot.fi/2013/05/wayland-utilizing-android-gpu-drivers.html

I didn't find any of those links terribly informative for
understanding the aspects of _how it works_ that I'm unclear on --
particularly, how it deals with the fact that the symbols it wants to
override for bionic-linked DSOs have the same names as existing
symbols from the system libc that need to be left visible.

Rich


  reply	other threads:[~2014-09-03 22:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01  8:55 Jens Staal
2014-09-01 21:08 ` Rich Felker
2014-09-02  7:11   ` Wermut
2014-09-02  8:34     ` Rich Felker
2014-09-02  9:25       ` Wermut
2014-09-03 22:35         ` Rich Felker [this message]
2014-09-03 22:59   ` Rich Felker
2014-09-04 15:17     ` Isaac Dunham
2014-09-04 15:55       ` 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=20140903223553.GN12888@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).