Re: [PATCH] sysctl: some input constraints checks were added for/proc/sys/vm directory

From: Andrew Morton
Date: Tue Mar 08 2011 - 19:52:51 EST


On Wed, 2 Mar 2011 17:16:14 +0100
Petr Holasek <pholasek@xxxxxxxxxx> wrote:

> There were added boundaries of allowed input ranges for: dirty_expire_centisecs,
> drop_caches, overcommit_memory, page-cluster and panic_on_oom.
>
> ...
>

Well.. It's a non-back-compatible userspace interface change.

Yes, it's unlikely that any userspace was doing, for example, "echo 7 >
/proc/sys/vm/drop_caches". But if it was, we just broke it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/