[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3] Add systemd socket launching support
From: |
Matthew Leach |
Subject: |
Re: [PATCH v3] Add systemd socket launching support |
Date: |
Fri, 01 Apr 2016 20:47:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Hi Stefan,
Stefan Monnier <address@hidden> writes:
>>> > I'm not sure myself, but I'm not a criminal, so don't ask me about the
>>> > details. I just know that exposing a handle through which someone can
>>> > feed Emacs any commands they want is a bad idea.
>>> Which part of my proposal exposes such a handle?
>> You asked for the original version, which did that. That's the only
>> proposal I understand you made, and that's what I was talking about.
>
> Then I don't know wheat you mean by "expose". It's already readily
> available from the environment,
One thing to note is that the call to sd_listen_fds(1) will remove the
environment variables used by systemd to pass over the socket. Since
this happens before the Lisp interpreter is invoked, this information
isn't easily available from Lisp.
--
Matt