Re: [PATCH v7 33/41] x86/shstk: Introduce map_shadow_stack syscall

Borislav Petkov
2023-03-10T20:27:10Z

On Fri, Mar 10, 2023 at 08:19:46PM +0000, Edgecombe, Rick P wrote:
> I was thinking ERANGE would be for the 4GB limit. This is the weird 32
> bit limiting thing. So if someone hit it they could look up in the docs
> what is going on. The size-big-enough-for-a-token check could be
> ENOSPC? Then each reason could have a different error code.

Yah, makes perfect sense to me.

Thx.

--
Regards/Gruss,
Boris.