Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757387AbYHNRPv (ORCPT ); Thu, 14 Aug 2008 13:15:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751379AbYHNRPn (ORCPT ); Thu, 14 Aug 2008 13:15:43 -0400 Received: from mx1.redhat.com ([66.187.233.31]:39979 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750753AbYHNRPn (ORCPT ); Thu, 14 Aug 2008 13:15:43 -0400 Message-ID: <48A46831.7030606@redhat.com> Date: Thu, 14 Aug 2008 10:15:29 -0700 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Linux Kernel , John Reiser CC: Linus Torvalds , Andrew Morton Subject: AT_EXECFN not useful X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1172 Lines: 30 -----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----- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/