You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Gopi Krishna Bhavaraju <go...@pspl.co.in> on 2001/01/04 08:00:01 UTC
Re: mod_so/7008: Hard-coded dlopen flags (RTLD_GLOBAL) Ref: mod_so.c and
unix.c
The following reply was made to PR mod_so/7008; it has been noted by GNATS.
From: Gopi Krishna Bhavaraju <go...@pspl.co.in>
To: fanf@apache.org
Cc: apbugs@Apache.Org
Subject: Re: mod_so/7008: Hard-coded dlopen flags (RTLD_GLOBAL) Ref: mod_so.c and
unix.c
Date: Thu, 04 Jan 2001 12:21:21 +0530
Hi,
Thanks for the reply.
What I meant was NOT to hard code that flag to RTLD_GLOBAL or something. Let the
user specify(RTTD_GLOBAL/RTLD_LOCAL) what he wants in the httpd.conf file. And
pass this value as a parameter to ap_dso_load() function.
You can always keep the default value to RTTD_GLOBAL so that existing modules
will
work. Right!
--Gopi.
fanf@apache.org wrote:
> [In order for any reply to be added to the PR database, you need]
> [to include <ap...@Apache.Org> in the Cc line and make sure the]
> [subject line starts with the report component and number, with ]
> [or without any 'Re:' prefixes (such as "general/1098:" or ]
> ["Re: general/1098:"). If the subject doesn't match this ]
> [pattern, your message will be misfiled and ignored. The ]
> ["apbugs" address is not added to the Cc line of messages from ]
> [the database automatically because of the potential for mail ]
> [loops. If you do not include this Cc, your reply may be ig- ]
> [nored unless you are responding to an explicit request from a ]
> [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]
>
> Synopsis: Hard-coded dlopen flags (RTLD_GLOBAL) Ref: mod_so.c and unix.c
>
> State-Changed-From-To: open-closed
> State-Changed-By: fanf
> State-Changed-When: Wed Jan 3 21:19:56 PST 2001
> State-Changed-Why:
> Using RTLD_GLOBAL is necessary to support some features of
> modules like mod_perl. Work-arounds include declaring the
> functions in your module static, or choosing properly
> unique names for the functions.
> Thanks for using Apache!
--
Member of Technical Staff
Persistent Systems Pvt. Ltd.,
SB Road, Pune, India.
Ph: Off - +91-20-5676700, Ext 530
Res - +91-20-5881178