Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LD_PRELOAD malfunctions in relocated executables #7493

Closed
avikivity opened this issue Oct 27, 2020 · 1 comment
Closed

LD_PRELOAD malfunctions in relocated executables #7493

avikivity opened this issue Oct 27, 2020 · 1 comment

Comments

@avikivity
Copy link
Member

Usually, LD_PRELOAD refers to libraries outside libreloc, and so will malfuction.

avikivity added a commit to avikivity/scylladb that referenced this issue Oct 27, 2020
LD_PRELOAD libraries usually have dependencies in the host system,
which they will not have access to in a relocatable environment
since we use a different libc. Detect that LD_PRELOAD is in use and if
so, abort with an error.

Fixes scylladb#7493.
penberg pushed a commit that referenced this issue Oct 28, 2020
LD_PRELOAD libraries usually have dependencies in the host system,
which they will not have access to in a relocatable environment
since we use a different libc. Detect that LD_PRELOAD is in use and if
so, abort with an error.

Fixes #7493.

Closes #7494
avikivity added a commit that referenced this issue Oct 28, 2020
LD_PRELOAD libraries usually have dependencies in the host system,
which they will not have access to in a relocatable environment
since we use a different libc. Detect that LD_PRELOAD is in use and if
so, abort with an error.

Fixes #7493.

Closes #7494
@avikivity
Copy link
Member Author

Not a regression, not backporting.

asias pushed a commit to asias/scylla that referenced this issue Apr 15, 2021
LD_PRELOAD libraries usually have dependencies in the host system,
which they will not have access to in a relocatable environment
since we use a different libc. Detect that LD_PRELOAD is in use and if
so, abort with an error.

Fixes scylladb#7493.

Closes scylladb#7494

(cherry picked from commit 4b9206a)

Fixes scylladb#1522.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants