modules registering as sysctl handlers

From: Muli Ben-Yehuda
Date: Tue Mar 02 2004 - 07:33:21 EST


Hi

Looking at 2.6.3-bk, it appears that the sysctl code does not raise a
module's reference count before calling a sysctl handler registered by
that module.

- are modules allowed to register sysctl handlers?
register_sysctl_table is exported, so I imagine so.

- am I missing something and modules are in fact protected against
concurrent unloading and invocation of sysctl?

Cheers,
Muli
--
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

Attachment: signature.asc
Description: Digital signature