[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090206205129.GA4394@epbyminw8406h.minsk.epam.com>
Date: Fri, 6 Feb 2009 22:51:29 +0200
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] binfmt_script: rewrite using parse_shell_args()
On Fri, Feb 06, 2009 at 12:25:56PM -0800, Andrew Morton wrote:
> On Thu, 5 Feb 2009 22:47:43 +0200
> "Kirill A. Shutemov" <kirill@...temov.name> wrote:
>
> > parse_shell_args() allows to use more than one argument in shebang
>
> What is the benefit in all of this? Why should we merge it??
Now, we have to write wrapper if we need to pass more than one argument
to the interpreter.
For example, now we can't write something like
#!/usr/bin/env python -c
in shebang. It will be interpreted as /usr/bin/env "python -c" and we will
get ENOENT.
With the patch it will be interpreted according to shell syntax.
--
Regards, Kirill A. Shutemov
+ Belarus, Minsk
+ ALT Linux Team, http://www.altlinux.org/
Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)
Powered by blists - more mailing lists