Skip to content

Investigate behavior of execve with changed ldlibrary path #1224

@tomuben

Description

@tomuben

Background

We want to convert the slow wrapper script into a C++ binary, which would be much faster.
For that we need to be sure that changing the environment variable LD_LIBRARY_PATH before replacing the program of the current process using execve has the desired effect.

Acceptance Criteria

The goal is to write two minimal C++ programs:

  1. The first loads a shared library which is not in the system LD_LIBRARY_PATH / is linked against this shared library.
  2. The second modifies the LD_LIBRARY_PATH and calls the first binrary with execve.

Metadata

Metadata

Assignees

No one assigned

    Labels

    taskTasks without changes to the code base

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions