From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] NSS modules
Date: Sun, 16 Nov 2008 22:46:35 +0300
Message-ID: <20081116194634.GA31993@altlinux.org> (raw)
In-Reply-To: <20081116185516.GA10003@wo.int.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 874 bytes --]
On Sun, Nov 16, 2008 at 09:55:16PM +0300, Dmitry V. Levin wrote:
> > В общем, вопрос ставится так: "Крайне не желательно писать NSS-модули
> > на C++". Это связано в особенностями архитекутры NSS. Мне теперь надо
> > обдумать этот вопрос...
>
> Не совсем так. Нежелательно линковать NSS-модули с библиотеками,
> отличными от -lc, ибо эти библиотеки внезапно окажутся в памяти
> каждого приложения, вызывающего функцию, использующую NSS. При этом могут
> возникать разные неприятности, вроде несовместимости разных библиотек или
> библиотек разных версий.
dlopen(3) должен по умолчанию откупоривать nss модули в режиме RTLD_LOCAL.
То есть по крайней мере загружаемый модуль никак не может повлиять на работу
приложения в смысле совместимости разных библиотек (тогда как библиотеки,
уже загруженные в приложение, вероятно, могут повлиять на работу модуля).
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-11-16 19:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-16 18:55 Dmitry V. Levin
2008-11-16 19:46 ` Alexey Tourbin [this message]
2008-11-16 19:53 ` Dmitriy M. Maslennikov
2008-11-16 19:58 ` Dmitry V. Levin
2008-11-16 20:15 ` Alexey Tourbin
2008-11-16 20:39 ` Dmitry V. Levin
2008-11-16 21:39 ` Evgeny Sinelnikov
2008-11-16 21:41 ` Evgeny Sinelnikov
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=20081116194634.GA31993@altlinux.org \
--to=at@altlinux.ru \
--cc=devel@lists.altlinux.org \
/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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git