diff options
Diffstat (limited to 'dlfcn/dlinfo.c')
-rw-r--r-- | dlfcn/dlinfo.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dlfcn/dlinfo.c b/dlfcn/dlinfo.c index 7e7f1c759b..4e755ad044 100644 --- a/dlfcn/dlinfo.c +++ b/dlfcn/dlinfo.c @@ -55,12 +55,15 @@ RTLD_SELF used in code not dynamically loaded")); switch (args->request) { - case RTLD_DI_LMID: case RTLD_DI_CONFIGADDR: default: GLRO(dl_signal_error) (0, NULL, NULL, N_("unsupported dlinfo request")); break; + case RTLD_DI_LMID: + *(Lmid_t *) args->arg = l->l_ns; + break; + case RTLD_DI_LINKMAP: *(struct link_map **) args->arg = l; break; |