git: rtld: Implement fdlopen(3)

John Marino marino at crater.dragonflybsd.org
Fri Apr 6 02:56:28 PDT 2012


commit 303c188718c48245a9e53a51b66e555e7137804c
Author: John Marino <draco at marino.st>
Date:   Fri Apr 6 09:33:33 2012 +0200

    rtld: Implement fdlopen(3)
    
    Implement rtld interface fdlopen.  It is similar to dlopen, but takes a
    file description instead of a path to reference the shared object.
    
    Taken from: FreeBSD SVN 229768 (07 JAN 2012)

Summary of changes:
 include/dlfcn.h           |    1 +
 lib/libc/gen/Makefile.inc |    1 +
 lib/libc/gen/dlfcn.3      |    6 ++-
 lib/libc/gen/dlfcn.c      |    8 +++
 lib/libc/gen/dlopen.3     |   52 ++++++++++++++++++---
 libexec/rtld-elf/rtld.c   |  109 ++++++++++++++++++++++++++++++++-------------
 6 files changed, 137 insertions(+), 40 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/303c188718c48245a9e53a51b66e555e7137804c


-- 
DragonFly BSD source repository





More information about the Commits mailing list