tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Leaking kernel stack data in struct padding



On Wed, Jun 13, 2018 at 02:16:30PM +0300, Valery Ushakov wrote:
> but I wonder if this scrubbing should be moved into
> timespec_to_timespec50() - after all the most likley use of the compat
> struct is to write or copyout it in the compat code, so the same
> problem probably happens elsewhere.

Yes. It also gives the compiler the chance to eliminate unnecessary
writes.

Joerg


Home | Main Index | Thread Index | Old Index