aboutsummaryrefslogtreecommitdiffstats
path: root/dlfcn/dlinfo.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-10-14 05:57:55 +0000
committerJakub Jelinek <jakub@redhat.com>2004-10-14 05:57:55 +0000
commit9869e6ec913e268748f510ab6ec64b8fd62531bc (patch)
treef3f8b9c049c73755d183cc1c1affd34ee8f9772b /dlfcn/dlinfo.c
parentUpdated to fedora-glibc-20041012T1128 (diff)
downloadglibc-9869e6ec913e268748f510ab6ec64b8fd62531bc.tar.xz
glibc-9869e6ec913e268748f510ab6ec64b8fd62531bc.zip
Updated to fedora-glibc-20041014T0548
Diffstat (limited to 'dlfcn/dlinfo.c')
-rw-r--r--dlfcn/dlinfo.c5
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;