From: dana <dana@dana.is>
To: dominik.vogt@gmx.de
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: DISPLAY problem with zsh + fvwm + firejail
Date: Wed, 1 Jan 2020 21:18:38 -0600 [thread overview]
Message-ID: <094EF33B-8FB5-4DAE-8E68-B84529C49F35@dana.is> (raw)
In-Reply-To: <20200102025141.pn37a5fzsrhsyma2@gmx.de>
On 1 Jan 2020, at 20:51, Dominik Vogt <dominik.vogt@gmx.de> wrote:
> No, it's also empty. Note that firejail automatically runs the
> command from a shell (zsh in this case) if its not explicitly told
> otherwise
Oh, i see. That should have been obvious from `exec firejail --debug set`, but
somehow i missed it. That explains why other shells were affected.
On 1 Jan 2020, at 20:51, Dominik Vogt <dominik.vogt@gmx.de> wrote:
> But "exporting" variables is a concept of the shell, right? So an
> execvp() in a random program knows nothing about "exporting"
> variables - the called executable just inherits the whole
> environment(?).
You can manipulate the environment from any C application with setenv(),
execve(), &c. But it sounds like in this case firejail is just passing it
through like you said. Glad you found it
dana
prev parent reply other threads:[~2020-01-02 3:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-01 20:58 Dominik Vogt
2020-01-02 2:16 ` dana
2020-01-02 2:51 ` Dominik Vogt
2020-01-02 3:18 ` dana [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=094EF33B-8FB5-4DAE-8E68-B84529C49F35@dana.is \
--to=dana@dana.is \
--cc=dominik.vogt@gmx.de \
--cc=zsh-users@zsh.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.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).