DragonFly BSD
DragonFly commits List (threaded) for 2012-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: rtld: Implement fdlopen(3)


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 6 Apr 2012 02:56:28 -0700 (PDT)

commit 303c188718c48245a9e53a51b66e555e7137804c
Author: John Marino <draco@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]