Re: [PATCH] prctl: fix overwrite last but one entry in auxv vector
From: Cyrill Gorcunov
Date: Mon Mar 22 2021 - 02:43:29 EST
On Sun, Mar 21, 2021 at 11:36:42PM +0300, Cyrill Gorcunov wrote:
> Alexey reported that current PR_SET_MM_AUXV (and PR_SET_MM_MAP) overwrite
> too many entries on non 64bit kernels. This is because auxv is defined
> as an array of longs and in result access to AT_VECTOR_SIZE - 2 entry
> is not a type of auxv entry but rather an entry before the last one.
Drop this patch, please. I'll make a new version.