Re: sysctl in 2.6.24.2 excludes unapproved files from /proc/sys?

From: Valdis . Kletnieks
Date: Fri Feb 29 2008 - 21:58:09 EST


On Sat, 01 Mar 2008 02:12:05 +0100, "Peter T. Breuer" said:
> A change in 2.6.24.x kernel/sysctl.c seems to exclude exo-kernel drivers
> from using the /proc/sys/ interface:

>
> What's a person to do?

Umm.. as a wild guess? Maybe a patch to add entries to the sysctl_check_table
arrays for your sysctl?

They didn't spend their holiday just coming up with this to annoy you - the
checking found a *lot* of entries that were well and truly broken (in the
how-did-it-ever-not-panic sense)...

Yes, it does make it more difficult for out-of-tree modules to create a new
sysctl entry - which is probably just as well, given that there's sysfs and
debugfs and a whole lot of other options as well for userspace-kernel
interaction.

Attachment: pgp00000.pgp
Description: PGP signature