Re: [PATCH v6 1/6] uapi: Define the aux vector AT_MINSIGSTKSZ

From: Bae, Chang Seok
Date: Wed Mar 10 2021 - 11:32:20 EST


On Mar 1, 2021, at 11:09, Borislav Petkov <bp@xxxxxxx> wrote:
> On Sat, Feb 27, 2021 at 08:59:06AM -0800, Chang S. Bae wrote:
>>
>> diff --git a/include/uapi/linux/auxvec.h b/include/uapi/linux/auxvec.h
>> index abe5f2b6581b..15be98c75174 100644
>> --- a/include/uapi/linux/auxvec.h
>> +++ b/include/uapi/linux/auxvec.h
>> @@ -33,5 +33,8 @@
>>
>> #define AT_EXECFN 31 /* filename of program */
>>
>> +#ifndef AT_MINSIGSTKSZ
>> +#define AT_MINSIGSTKSZ 51 /* stack needed for signal delivery */
>
> I know glibc's comment says a similar thing but the correct thing to say
> here should be "minimal stack size for signal delivery" or so. Even the
> variable name alludes to that too.

Yeah, you’re right.

Thanks,
Chang