]> git.lizzy.rs Git - rust.git/commit
auto merge of #7132 : thestinger/rust/rpath, r=brson
authorbors <bors@rust-lang.org>
Sat, 15 Jun 2013 23:13:09 +0000 (16:13 -0700)
committerbors <bors@rust-lang.org>
Sat, 15 Jun 2013 23:13:09 +0000 (16:13 -0700)
commitc989b79127c5062df0a64d8c383de93c82a3d9b7
tree3055673da5765574cac59582305a7b1aec37df3c
parent579c614e38303434bdb2926e192f69db041aec78
parent708395d65d689080cc96dd091adab3fc4c5c3f27
auto merge of #7132 : thestinger/rust/rpath, r=brson

This is a bad default, because the binaries will point at an absolute
path regardless of where they are moved. This opens up a security issue
for packages, because they will attempt to load libraries from a path
that's often owned by a regular user.

Every Rust binary is currently flagged by Debian, Fedora and Arch lint
checkers as having dangerous rpaths. They don't meet the requirements to
be placed in the repositories without manually stripping this from each
binary.

The relative rpath is still enough to keep the binaries working until
they are moved relative to the crates they're linked against.

http://wiki.debian.org/RpathIssue
https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath