public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* modules registering as sysctl handlers
@ 2004-03-02 12:29 Muli Ben-Yehuda
  2004-03-02 12:41 ` viro
  0 siblings, 1 reply; 7+ messages in thread
From: Muli Ben-Yehuda @ 2004-03-02 12:29 UTC (permalink / raw)
  To: Linux-Kernel

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-03-04 14:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-02 12:29 modules registering as sysctl handlers Muli Ben-Yehuda
2004-03-02 12:41 ` viro
2004-03-03  0:05   ` Rusty Russell
2004-03-03  9:22     ` Muli Ben-Yehuda
2004-03-03 10:43       ` viro
2004-03-04 10:38         ` Muli Ben-Yehuda
2004-03-04 13:59           ` Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox