Re: [PATCH RFT v4 2/5] fork: Add shadow stack support to clone3()
From: Mark Brown
Date: Wed Nov 29 2023 - 08:05:57 EST
On Tue, Nov 28, 2023 at 01:23:57PM -0800, Deepak Gupta wrote:
> On Tue, Nov 28, 2023 at 06:22:40PM +0000, Mark Brown wrote:
> > +#define SHADOW_STACK_SIZE_MIN 8
> nit:
> Sorry, should've mentioned it earlier.
> Can this be "#define SHADOW_STACK_SIZE_MIN sizeof(unsigned long)"
Given that the stack is full of pointers I'll go for void * instead.
Attachment:
signature.asc
Description: PGP signature