[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: OS X is not (should not be) so different
- From: Sam Roberts <sroberts@...>
- Date: Tue, 3 Apr 2007 15:22:38 -0700
On Tue, Apr 03, 2007 at 07:07:07PM -0300, Luiz Henrique de Figueiredo wrote:
> > One issue: SUSv3 (Single Unix Specification, v3) requires you to
> > either specify RTLD_LOCAL or RTLD_GLOBAL to 'dlopen'.
>
> That's not what I read from
> http://www.opengroup.org/onlinepubs/009695399/functions/dlopen.html
>From the above link:
To determine the scope of visibility for the symbols loaded with a
dlopen() invocation, the mode parameter should be a bitwise-inclusive OR
with one of the following values:
RTLD_GLOBAL ...
RTLD_LOCAL ...
If neither RTLD_GLOBAL nor RTLD_LOCAL are specified, then the default
behavior is unspecified.
^^^^^^^^^^^^^^^^^^^^^^^
linux's dlopen(3) says:
Zero of more of the following values may also be ORed in flag:
RTLD_GLOBAL ...
RTLD_LOCAL This is the converse of RTLD_GLOBAL, and the default if
neither flag is specified. ...
Sam
- References:
- Re: NSLINKMODULE_OPTION_PRIVATE a problem? (OS X require of a modulemultiple times), Asko Kauppi
- Re: NSLINKMODULE_OPTION_PRIVATE a problem? (OS X require of a modulemultiple times), Asko Kauppi
- Re: NSLINKMODULE_OPTION_PRIVATE a problem? (OS X require of a modulemultiple times), Gé Weijers
- OS X is not (should not be) so different, Asko Kauppi
- Re: OS X is not (should not be) so different, Sam Roberts
- Re: OS X is not (should not be) so different, Luiz Henrique de Figueiredo
- Re: OS X is not (should not be) so different, Ken Smith
- Re: OS X is not (should not be) so different, Luiz Henrique de Figueiredo
- Re: OS X is not (should not be) so different, Gé Weijers
- Re: OS X is not (should not be) so different, Luiz Henrique de Figueiredo