Re: [PATCH] Allow recursion in binfmt_script and binfmt_misc

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Monday, September 8, 2008 - 3:39 pm

On Sat,  6 Sep 2008 18:09:55 +0300
"Kirill A. Shutemov" <kirill@shutemov.name> wrote:


That's a strange position in which to add the new field.  It will prevent
the compiler from using the same word for sh_bang, misc_bang and taso.

I fixed that up while fixing linux-next rejects.


Why "4"?

Why make linux_binprm.recursion_depth a u8?  There would be 
practically (or actually) zero cost to making it 32-bit.
Admittedly a depth >256 would be a bit odd, but did we gain 
anything from this restriction?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] [RFC] Allow recursion in binfmt_script and binfmt_misc, Kirill A. Shutemov, (Tue Sep 2, 4:06 am)
[PATCH] Introduce field 'taso' into struct linux_binprm, Kirill A. Shutemov, (Sat Sep 6, 8:09 am)
[PATCH] Allow recursion in binfmt_script and binfmt_misc, Kirill A. Shutemov, (Sat Sep 6, 8:09 am)
Re: [PATCH] Allow recursion in binfmt_script and binfmt_misc, Andrew Morton, (Mon Sep 8, 3:39 pm)
Re: [PATCH] Allow recursion in binfmt_script and binfmt_misc, Kirill A. Shutemov, (Mon Sep 8, 11:45 pm)