Re: [PATCH] Re: #! incompatible -- binfmt_script.c broken?

Alan Cox (alan@lxorguk.ukuu.org.uk)
10 Dec 2002 01:11:10 +0000


On Tue, 2002-12-10 at 00:28, H. Peter Anvin wrote:
> Alan Cox wrote:
> >
> > I'd rather keep it as is. We should be doing IFS partition with quoting,
> > UTF-8 awareness according to locale and locale specific rules on
> > whitespace. That says "userspace" all over it.
> >
>
> Actually, I would argue we definitely should *not*.

I don't see how you can do otherwise. The very definition of
"whitespace" is locale specific. Throwing it at the target as one string
lets the kernel stay out of locales, languages, policy and other parsing
horrors. Splitting it has to be done properly or its a non reversible
operation and tools can't correct the kernel screwups

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/