linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ioctl32_unregister_conversion & modules
@ 2003-05-09  9:32 Pavel Machek
  0 siblings, 0 replies; 7+ messages in thread
From: Pavel Machek @ 2003-05-09  9:32 UTC (permalink / raw)
  To: davem, kernel list, ak

Hi!

...what is the problem?

It seems that function pointers into modules do not need any special
treatmeant [I *know* there was talk about this on l-k; but I can't
find anything in Documentation/]:

                if (!capable(CAP_SYS_ADMIN))
                        return -EACCES;
                if (disk->fops->ioctl) {
                        ret = disk->fops->ioctl(inode, file, cmd, arg);
                        if (ret != -EINVAL)
                                return ret;
                }

So... what's the problem with {un}register_ioctl32_conversion being
called from module_init/module_exit? Drivers in the tree do it
already...
								Pavel
-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

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

end of thread, other threads:[~2003-05-09 19:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030509100039$6904@gated-at.bofh.it>
2003-05-09 12:10 ` ioctl32_unregister_conversion & modules Arnd Bergmann
2003-05-09 15:24   ` Pavel Machek
2003-05-09 16:13     ` David S. Miller
2003-05-09 17:11       ` Pavel Machek
2003-05-09 17:16         ` David S. Miller
2003-05-09 19:30     ` Arnd Bergmann
2003-05-09  9:32 Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).