Subject: Re: file id alignment
To: None <>
From: Martin Husemann <>
List: tech-kern
Date: 07/01/2006 10:00:41
On Fri, Jun 30, 2006 at 11:47:45PM -0400, der Mouse wrote:
> If zero-filling the padding is in any sense necessary, there is
> something somewhere else that's broken.

Well, for the concrete patch I posted it is necessary since we do *not*
want random kernel stack garbage to leak anywhere.

I thinkt there has been some misunderstanding. The padding we talk
about is explicit padding (structure member tf_pad), not the implicit one
done by the compiler if the members are not properly aligned.