Re: [PATCH v7 33/41] x86/shstk: Introduce map_shadow_stack syscall
From: Borislav Petkov <bp@alien8.de>
Date: 2023-03-10 20:27:21
Also in:
linux-api, linux-arch, linux-mm, lkml
From: Borislav Petkov <bp@alien8.de>
Date: 2023-03-10 20:27:21
Also in:
linux-api, linux-arch, linux-mm, lkml
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.
https://people.kernel.org/tglx/notes-about-netiquette