diff options
author | kib <kib@FreeBSD.org> | 2009-07-17 19:45:42 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-07-17 19:45:42 +0000 |
commit | a106aba3da6cf54be8c26869ab0827d68235af9d (patch) | |
tree | 69ab2c09c37b5924f7909584ef7c3c9d0b31c062 /lib/libc | |
parent | db1bf25adde7f22207c0905ba9e8d3ff76ea87d4 (diff) | |
download | FreeBSD-src-a106aba3da6cf54be8c26869ab0827d68235af9d.zip FreeBSD-src-a106aba3da6cf54be8c26869ab0827d68235af9d.tar.gz |
Implement RTLD_NOLOAD flag for dlopen(3).
Requested and tested by: jkim
Reviewed by: kan
Approved by: re (kensmith)
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/dlopen.3 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3 index 187f817..6488bef 100644 --- a/lib/libc/gen/dlopen.3 +++ b/lib/libc/gen/dlopen.3 @@ -32,7 +32,7 @@ .\" @(#) dlopen.3 1.6 90/01/31 SMI .\" $FreeBSD$ .\" -.Dd April 1, 2009 +.Dd July 7, 2009 .Os .Dt DLOPEN 3 .Sh NAME @@ -148,6 +148,13 @@ The same behaviour may be requested by .Fl "z nodelete" option of the static linker .Xr ld 1 . +.It Dv RTLD_NOLOAD +Ony return valid handle for the object if it is already loaded in +the process address space, otherwise +.Dv NULL +is returned. +Other mode flags may be specified, which will be applied for promotion +for the found object. .El .Pp If |