diff options
author | Greg Steuck <gnezdo@cvs.openbsd.org> | 2023-04-09 23:41:49 +0000 |
---|---|---|
committer | Greg Steuck <gnezdo@cvs.openbsd.org> | 2023-04-09 23:41:49 +0000 |
commit | 72997f6aae1a50d3c6c67fb0125418e9fe77a56e (patch) | |
tree | 6b769fd27a04a1efde26cca670fe4723e457068e /sys/uvm/uvm_vnode.c | |
parent | 6c5c2ff6b963e0fa73cd13d8c4a4eb9ca4559eaa (diff) |
Treat symlinks better in $ORIGIN determination in ld.so
Now symlinking an executable away from the rest of its installation
tree no longer prevents it from finding the libraries. This matches
the behavior of other OS linkers. Prompted by a behavior change in
lang/ghc test suite.
Swapped the order of dirname/realpath in _dl_origin_path.
Added some regress tests that pass and then bin3 that fails without
this change and reflects the behavior needd for lang/ghc.
Suggestion by semarie@, OK deraadt@
Diffstat (limited to 'sys/uvm/uvm_vnode.c')
0 files changed, 0 insertions, 0 deletions