Messages in this thread | | | Date | Fri, 10 Mar 2023 21:26:59 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH v7 33/41] x86/shstk: Introduce map_shadow_stack syscall |
| |
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
| |