Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#330599: binfmt-support: Octal escape sequence (http://www.linux-archive.org/debian-kernel/332139-bug-330599-binfmt-support-octal-escape-sequence.html)

Moritz Muehlenhoff 02-25-2010 09:53 PM

Bug#330599: binfmt-support: Octal escape sequence
 
On Thu, Sep 29, 2005 at 09:50:59AM -0600, Shaun Jackman wrote:
> 2005/9/29, Colin Watson <cjwatson@debian.org>:
> > On Wed, Sep 28, 2005 at 02:41:34PM -0600, Shaun Jackman wrote:
> > > binfmt-support allows the hex x## escape sequence for the magic
> > > option. Could the magic option also support the octal ### escape
> > > sequence? It is particularly nice for , 1, etc.
> >
> > It's actually the kernel's binfmt_misc module that does the
> > interpretation of x. I could probably make update-binfmts mangle the
> > magic byte-sequence on the way through, but I think it might be better
> > just to teach the kernel to understand octal escapes. Does that make
> > sense to you?
>
> That surprises me. I thought the interface to the kernel would be
> something a little more... orthogonal. For example...
> $ grep magic /proc/sys/fs/binfmt_misc/arm-elf
> magic 7f454c4601010161
> The preceding would be a sensible format for the kernel interface to
> me. the binfmt_misc/register interface being what it is though, I'd
> agree that teaching the kernel to understand octal escape sequences
> makes sense.

[ Following up a little belated... ]

Current kernels doesn't have support for an octal sequence. If you
want to see this implemented, please propose the change on the
Linux kernel mailing list (linux-kernel@vger.kernel.org), the Debian
BTS isn't the ideal place for this.

Cheers,
Moritz



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100225225354.GA15233@galadriel.inutil.org">http://lists.debian.org/20100225225354.GA15233@galadriel.inutil.org


All times are GMT. The time now is 04:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.