Skip to content

pv-unruntime: Split LD_PRELOAD on either colons or spaces

Simon McVittie requested to merge wip/ld-preload-spaces into master

pressure-vessel-unruntime assumes that LD_PRELOAD is colon-delimited, but any combination of colons and/or spaces is actually documented to be a valid delimiter. Spotted while working on !337 (merged).

  • pv-unruntime: Split LD_PRELOAD on either colons or spaces

    According to ld.so(8), either is equally valid for LD_PRELOAD (although note that LD_AUDIT only accepts colons).

  • pv-unruntime: Avoid passing --ld-audit= or --ld-preload= to pv-wrap

    There's no point in giving it an option that it will just ignore.

Edited by Simon McVittie

Merge request reports

Loading