Oliver Neukum <[EMAIL PROTECTED]> wrote:
> > Alright, let me ask that a different way: If I provide such a function in
> > the module, _what_ calls it from the main kernel?
>
> Nothing. It is called from userspace, or to be specific from wine.
> I would on second thought not limit this call to root. Perhaps you can
> arrange it to be called if wine terminates from within the kernel. I don't
> know.

I'm confused as to what you mean... This is a kernelspace function - you
_can't_ call it directly from userspace. Or if you mean it to be a userspace
function, you _can't_ call lock_kernel() from it.

David Howells
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to