Re: [PATCH v2] prctl: Deprecate non PR_SET_MM_MAP operations

From: Cyrill Gorcunov
Date: Wed Apr 18 2018 - 18:43:00 EST


On Wed, Apr 18, 2018 at 03:28:20PM -0700, Andrew Morton wrote:
> On Thu, 5 Apr 2018 21:26:51 +0300 Cyrill Gorcunov <gorcunov@xxxxxxxxx> wrote:
>
> > Subject: [PATCH v2] prctl: Deprecate non PR_SET_MM_MAP operations
>
> s/Deprecate/remove/ !

Thanks!

> >
> > Googling didn't reveal some other users of this operation
> > so I think it should be safe to remove this interface.
>
> It does seem a bit sudden. We could just add a "this interface is
> scheduled for removal" warning, then delete the code for real later in
> the year. To give people time to migrate or to complain to us.

Yes, I remember this rule of deprecation but taking into account
how special this code is (and I spent significant amount of time
trying to find a real example of its usage outside of criu)
I think it should be safe to simply remove it. Surely I won't
ever do this with some common syscall.