Skip to content

Propagate LD_* variables #11

@haampie

Description

@haampie

LD_* variables are unset by the kernel when executing setuid binaries, but it'd be nice to propagate them to the command we're executing after dropping privileges. The only way to do that is through a non-setuid wrapper (such as squashfs-run).

Effectively: squashfs-mount [file] [location] env "LD_XXX=$LD_XXX" [command...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions