bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] bash: add socket server support


From: Irek Szczesniak
Subject: Re: [PATCH] bash: add socket server support
Date: Wed, 13 Nov 2013 12:39:45 +0100

On Wed, Nov 13, 2013 at 7:35 AM, Piotr Grzybowski <narsil.pl@gmail.com> wrote:
> Hi Everyone, hi Joel,
>
>  the idea is nice, and I can really see that it is useful, but I would
> be extremely careful with introducing those kind of changes, it can be
> easily interpreted as "backdoor feature", that is: from security point
> of view it could be a disaster.

':' in *any* Unix paths is not wise because its already used by $PATH.
Likewise ';' is already occupied by version file systems.

The other problems I see is:
How can the script get access to the data returned by accept()? Unlike
ksh93 bash4 has no compound variables yet.
How can the accept() socket be passed to a child process so that
request processing can be passed to a fork()ed child process?

Irek



reply via email to

[Prev in Thread] Current Thread [Next in Thread]