Re: [PATCH v26 24/30] x86/cet/shstk: Introduce shadow stack token setup/verify routines

Borislav Petkov
2021-05-21T18:40:50Z

On Fri, May 21, 2021 at 09:17:24AM -0700, Yu, Yu-cheng wrote:
> If !IS_ALIGNED(ssp, 4), then certainly !IS_ALIGNED(ssp, 8).

... but the reverse is true: when it is aligned by 8, it is already
aligned by 4. Whoops, that's tricky. Pls put a comment over it so that
we don't forget.

Thx.

--
Regards/Gruss,
Boris.