diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2012-08-16 20:38:14 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2012-08-16 20:38:14 +0000 |
commit | 9c6627fd5100213611e6f89132eb95624fcb2527 (patch) | |
tree | 0419f289f6cc9e70c7c416a51c64005a01fbc725 /regress | |
parent | 0d231624728492568fa96a9513bd99b57bca1daf (diff) |
Use dlopen("ld.so") instead of dlopen("/usr/libexec/ld.so") so we get
a reference to the already loaded ld.so instead of loading another
instance.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/libexec/ld.so/randomdata/ld.so-cookie/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/libexec/ld.so/randomdata/ld.so-cookie/test.c b/regress/libexec/ld.so/randomdata/ld.so-cookie/test.c index a863637b52b..89753ff2540 100644 --- a/regress/libexec/ld.so/randomdata/ld.so-cookie/test.c +++ b/regress/libexec/ld.so/randomdata/ld.so-cookie/test.c @@ -9,7 +9,7 @@ main() long *guardptr; long guard; - dso = dlopen("/usr/libexec/ld.so", RTLD_LOCAL|RTLD_LAZY); + dso = dlopen("ld.so", RTLD_LOCAL|RTLD_LAZY); assert(dso != NULL); guardptr = dlsym(dso, "__guard"); assert(guardptr != NULL); |