Re: [PATCH 2/3] binfmt_script: rewrite using parse_shell_args()

From: Kirill A. Shutemov
Date: Sat Feb 07 2009 - 16:20:26 EST


On Sat, Feb 07, 2009 at 04:33:06PM +0000, Matthew Garrett wrote:
> On Thu, Feb 05, 2009 at 10:47:43PM +0200, Kirill A. Shutemov wrote:
> > parse_shell_args() allows to use more than one argument in shebang
>
> Surely this changes userspace ABI?

This patch break programs which use shabang like

#!/bin/foo a b

and expect that it will be interpreted as

/bin/foo "a b"

But I don't know a real world program witch use this hack.

--
Regards, Kirill A. Shutemov
+ Belarus, Minsk
+ ALT Linux Team, http://www.altlinux.org/

Attachment: signature.asc
Description: Digital signature