From: Tomas Hlavaty <tom@logand.com>
To: emacs-devel@gnu.org
Subject: Re: flag to use tor
Date: Sun, 22 Nov 2020 17:01:59 +0100 [thread overview]
Message-ID: <877dqd5qiw.fsf@logand.com> (raw)
In-Reply-To: <86ima4887k.fsf@163.com>
On Tue 17 Nov 2020 at 20:43, Zhu Zihao <all_but_last@163.com> wrote:
> #!/bin/sh
> export LD_PRELOAD=/path/to/libtorsocks.so
> exec -a "$0" emacs "$@"
> [...]
> Emacs, and its subprocess would inherit this environment variable and
> allow torsocks to intercept network connection and force them in Tor.
what if something (e.g. a script) sets the LD_PRELOAD variable to
something different? would it defeat torsocks? do i need to inspect
all such subprocesses and ensure that they use the right LD_PRELOAD
value?
prev parent reply other threads:[~2020-11-22 16:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-17 5:13 flag to use tor Richard Stallman
2020-11-17 5:30 ` Jean Louis
2020-11-17 6:31 ` Max Zettlmeißl
2020-11-17 7:59 ` Colin Baxter
2020-11-17 8:34 ` Colin Baxter
2020-11-17 12:43 ` Zhu Zihao
2020-11-21 5:04 ` Richard Stallman
2020-11-23 9:33 ` Robert Pluim
2020-11-24 5:53 ` Richard Stallman
2020-11-22 16:01 ` Tomas Hlavaty [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877dqd5qiw.fsf@logand.com \
--to=tom@logand.com \
--cc=emacs-devel@gnu.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
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.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).