From: Fabian Groffen <grobian@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Gentoo Prefix: on EPREFIX, ED and EROOT inside ebuilds
Date: Thu, 26 Nov 2009 10:02:54 +0100 [thread overview]
Message-ID: <20091126090254.GH19586@gentoo.org> (raw)
In-Reply-To: <7c612fc60911251601q44486356h7899f0eb9116dd0a@mail.gmail.com>
On 25-11-2009 17:01:19 -0700, Denis Dupeyron wrote:
> It looks like this question is still unanswered:
>
> On Thu, Nov 19, 2009 at 5:26 PM, Denis Dupeyron <calchan@gentoo.org> wrote:
> >> How are dynamically linked set*id programs going to work?
Depends on how the host OS/libc handles this :)
If you're root, you can install a program that any user can call and
run as if that user were root. If you're a normal user, you just
install a program that any user can call and run as if that user were
you.
If you refer to GNU glibc ignoring or greatly limiting variables like
LD_LIBRARY_PATH, then there is no problem in that for Prefix, since
these variables are considered harmful anyway. We don't use them.
Prefix uses RUNPATH (RPATH) in ELF objects to have the loader find the
correct libraries at runtime without any tricks. This is for instance
handy when someone calls a binary from a Prefix without having properly
initialised the Prefix environment. While this is not what we advise
people to do, it can work fine for applications like subversion.
--
Fabian Groffen
Gentoo on a different level
prev parent reply other threads:[~2009-11-26 9:03 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-18 9:11 [gentoo-dev] Gentoo Prefix: on EPREFIX, ED and EROOT inside ebuilds Fabian Groffen
2009-10-18 11:57 ` Tomáš Chvátal
2009-10-18 12:31 ` Fabian Groffen
2009-10-19 19:44 ` Fabian Groffen
2009-10-24 19:37 ` Petteri Räty
2009-10-24 20:00 ` Fabian Groffen
2009-11-13 11:43 ` Ulrich Mueller
2009-11-20 8:45 ` Fabian Groffen
2009-11-20 0:26 ` Denis Dupeyron
2009-11-20 1:42 ` Jeremy Olexa
2009-11-20 9:03 ` Fabian Groffen
2009-11-25 23:43 ` Denis Dupeyron
2009-11-26 8:53 ` Fabian Groffen
2009-11-26 10:01 ` [gentoo-dev] " Duncan
2009-11-26 10:10 ` Fabian Groffen
2009-11-26 10:37 ` Duncan
2009-11-26 10:51 ` Fabian Groffen
2009-11-26 12:36 ` Duncan
2009-11-26 15:26 ` Fabian Groffen
2009-11-26 13:43 ` [gentoo-dev] " Fabian Groffen
2009-11-26 0:01 ` Denis Dupeyron
2009-11-26 9:02 ` Fabian Groffen [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=20091126090254.GH19586@gentoo.org \
--to=grobian@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox