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

From: Andrew Morton
Date: Mon Mar 12 2018 - 16:52:11 EST


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.