From: "Andrej Borsenkow" <borsenkow.msk@sni.de>
To: "Geoff Wing" <gcw@pobox.com>,
"Zsh Hackers" <zsh-workers@math.gatech.edu>
Subject: RE: Symbols in executable available to dynamic stuff
Date: Tue, 17 Nov 1998 11:51:55 +0300 [thread overview]
Message-ID: <001201be1207$8736d020$21c9ca95@mowp.siemens.ru> (raw)
In-Reply-To: <19981114181808.A6571@primenet.com.au>
The problem is, that loadable modules needs access to symbols from "main"
zsh. Hash tables, parameter functions etc On some systems (notably SVR4),
symbols from a.out are *not* accessible to outside world. In this case, ZSH
is built as dynamic sjared library with stub a.out, which is just linked
against libzsh.so and calls ZSH entry point there.
/andrej
> -----Original Message-----
> From: Geoff Wing [mailto:gcw@pobox.com]
> Sent: Saturday, November 14, 1998 10:18 AM
> To: Zsh Hackers
> Subject: Symbols in executable available to dynamic stuff
>
>
> Heyla,
> can I cause some more trouble yet? :-)
>
> Way, way back in Zefram's patch 3038 came aczsh.m4 and this gem:
> zsh_SYS_DYNAMIC_EXECSYMS:
> Check whether symbols in the executable are available to dynamically
> loaded libraries.
> (And BTW, the description's wrong: it checks dynamically loaded objects,
> which are not necessarily libraries)
>
> If yes, then we don't build a dynamic zsh. What's the danger here? If
> you control your executable, library and $MODULEPATH then why does it
> matter if objects you load can run subroutines from outside their object
> space? Or is it more specific than that? Obviously, routines in
> dynamically loaded modules (eg. genprompts() in zle module) need
> to be able
> to run routines in other modules or libraries (eg. countprompt() in zsh
> library) so there is some big thing here I'm missing perhaps?
>
> Anyone care to enlighten me, please?
> --
> Geoff Wing <gcw@pobox.com> Mobile : 0412 162 441
> Work URL: http://www.primenet.com.au/ Ego URL: http://pobox.com/~gcw/
>
>
prev parent reply other threads:[~1998-11-17 8:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-14 7:18 Geoff Wing
1998-11-14 19:00 ` Bart Schaefer
1998-11-15 0:56 ` Geoff Wing
1998-11-17 8:51 ` Andrej Borsenkow [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001201be1207$8736d020$21c9ca95@mowp.siemens.ru' \
--to=borsenkow.msk@sni.de \
--cc=gcw@pobox.com \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).