After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 741183 - nautilus unable to launch pie executables
nautilus unable to launch pie executables
Status: RESOLVED DUPLICATE of bug 737849
Product: nautilus
Classification: Core
Component: File and Folder Operations
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-05 22:42 UTC by Daniel Kahn Gillmor
Modified: 2014-12-08 19:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Kahn Gillmor 2014-12-05 22:42:59 UTC
https://bugzilla.mozilla.org/show_bug.cgi?id=1076892
http://openwall.com/lists/oss-security/2014/12/05/21

this is preventing firefox from shipping an ASLR-compatible position-independent executable.

You can test this with the following code:

-----test.c-----
#include <unistd.h>
int main() {
 execl("/usr/bin/xmessage", "xmessage", "test", NULL);
}
-----test.c-----

built this way:

 gcc -o test-pie -pie -fPIC test.c
 gcc -o test-nonpie test.c

you'll be able to launch both ./test-pie and ./test-nonpie from the command line (an xmessage window should pop up), but double-clicking test-pie in nautilus yields:

 Could not display "test-pie".
 There is no application installed for "shared library" files.

fwiw, /usr/bin/file reports test-pie as an "LSB shared object", and test-nonpie as an "LSB executable".
Comment 1 Daniel Micay 2014-12-06 00:20:25 UTC
This is a duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=737849
Comment 2 André Klapper 2014-12-08 19:49:15 UTC

*** This bug has been marked as a duplicate of bug 737849 ***