lkml.org 
[lkml]   [2004]   [Mar]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 2 Mar 2004 14:29:09 +0200
FromMuli Ben-Yehuda <>
Subjectmodules registering as sysctl handlers
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/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:01    [W:0.238 / U:0.010 seconds]
©2003-2008 Jasper Spaans