Re: [PATCH] prctl: Deprecate non PR_SET_MM_MAP operations

From: Cyrill Gorcunov
Date: Wed Apr 04 2018 - 17:26:17 EST


On Wed, Apr 04, 2018 at 02:16:33PM -0700, Yang Shi wrote:
> On 4/4/18 11:55 AM, Cyrill Gorcunov wrote:
> > An ability to manipulate mm_struct fields was introduced in
> > sake of CRIU in first place. Later we provide more suitable
> > and safe operation PR_SET_MM_MAP where all fields to be modifed
> > are passed in one structure which allows us to make more detailed
> > verification.
> >
> > -
> > if (arg5 || (arg4 && (opt != PR_SET_MM_AUXV &&
>
> This PR_SET_MM_AUXV should be removed too? There is not callsite to
> prctl_set_auxv() anymore.

Yeah, good point. Will update.