Re: [PATCH v4 2/6] proc/sysctl: Check for invalid flags bits

From: Waiman Long
Date: Mon Mar 12 2018 - 18:12:54 EST


On 03/12/2018 04:52 PM, Andrew Morton wrote:
> On Mon, 12 Mar 2018 16:15:40 -0400 Waiman Long <longman@xxxxxxxxxx> wrote:
>
>> Checking code is added to check for invalid flags in the ctl_table
>> and return error if an unknown flag is used.
> Why? What's wrong with the old code, what value does this change add,
> etc.

This is an additional checking code requested by Luis.

Cheers,
Longman