From: Denis Klimov <klimov.d.e@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] подмена путей к файлам
Date: Fri, 30 Jan 2009 16:41:05 +0500
Message-ID: <4982E751.9050003@altlinux.org> (raw)
In-Reply-To: <200901301327.11715.kde@kde.kiev.ua>
Denis Kuznetsov пишет:
> Добрый день!
> Очень нужна библиотека для скромного хака.
> Задача заключаеться в том что если процесс испольняеться 32х битный, то
> подсовывать ему один конфиг, а для 64х битного процесса другой. Прикладывать
> патчи и что-либо пересобирать лень. Поэтому хочется решение ввиде врапера
> который будет подключаться через LD_PRELOAD. Есть ли готовое решение?
>
Не совсем понял что вы хотите, но возможно небольшой скрипт, который
перед запуском файла смотрит на вывод команды file по нему и
подсовывает нужный конфиг вам подойдет?
--
Климов Денис.
next prev parent reply other threads:[~2009-01-30 11:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-30 11:27 Denis Kuznetsov
2009-01-30 11:41 ` Denis Klimov [this message]
2009-01-30 11:48 ` Denis Kuznetsov
2009-01-30 11:58 ` Led
2009-01-31 6:59 ` Vitaly Ostanin
2009-01-31 7:24 ` Denis Kuznetsov
2009-01-30 11:41 ` Led
2009-01-30 11:43 ` Denis Kuznetsov
2009-01-30 11:57 ` Led
2009-01-30 12:03 ` Denis Kuznetsov
2009-01-30 13:20 ` Led
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=4982E751.9050003@altlinux.org \
--to=klimov.d.e@gmail.com \
--cc=sisyphus@lists.altlinux.org \
--cc=zver@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git