From: Ulrich Drepper <drepper@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>,
John Reiser <jreiser@BitWagon.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: AT_EXECFN not useful
Date: Thu, 14 Aug 2008 10:15:29 -0700 [thread overview]
Message-ID: <48A46831.7030606@redhat.com> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've just removed the support for AT_EXECFN again from glibc. The
information isn't useful because the path name isn't normalized. I.e.,
it's not the actual binary path if symlinks are followed during the
resolution. This makes it unusable for the $ORIGIN handling. This is
on top of the problem with relative paths.
Unless somebody has another use case where this is useful I suggest
removing AT_EXECFN support again. It's just superfluous work and memory
use.
Of course I wouldn't object to a real implementation which always gives
me the full, normalized path name of the executable...
- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkikaDEACgkQ2ijCOnn/RHSFvACgoWYhqrfJZfRe4ypFUQQR9soJ
km8AnRchCWP+irhGcgoSzd2S8iYQi7zm
=E4tz
-----END PGP SIGNATURE-----
next reply other threads:[~2008-08-14 17:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-14 17:15 Ulrich Drepper [this message]
2008-08-15 5:10 ` AT_EXECFN not useful John Reiser
2008-08-15 23:59 ` Ulrich Drepper
2008-08-18 15:04 ` John Reiser
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=48A46831.7030606@redhat.com \
--to=drepper@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=jreiser@BitWagon.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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