Messages in this thread | ![/](/images/icornerl.gif) | | From | Linus Torvalds <> | Date | Wed, 22 Feb 2012 10:19:41 -0800 | Subject | Re: compat: autofs v5 packet size ambiguity - update |
| |
On Wed, Feb 22, 2012 at 10:16 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote: > > Of course, right now autofs leaks kernel stack way more than that one > possible alignment word: the whole "name[NAME_MAX+1]" array is leaking > stuff after the name length (and final zero). So the padding is the > least of the leaking worries.
Oh, we do have that "memset()" there, and it seems to have been there since the beginning.
I take all that back. Fixing user space is actually possible.
However, the whole "no regressions" part is that we shouldn't require updated user space, so we should fix the compat mess in the kernel regardless. At which point "fixing user space" becomes irrelevant again, so ..
Linus
| ![\](/images/icornerr.gif) |