Re: Passing references to kobjects between userland and kernel
From: Greg KH
Date: Tue Jun 20 2006 - 01:16:48 EST
On Tue, Jun 20, 2006 at 01:48:54AM +0200, Daniele Orlandi wrote:
> On Saturday 17 June 2006 01:58, Greg KH wrote:
> >
> > Use the kobject_uevent() call from kernelspace to let userspace know
> > whatever you want it to. That is what it is there for :)
>
> kobject_uevent() is fine if I want to asynchronously notify the user space of
> an event.
>
> What I need is a synchronous bidirectional interface, e.g. I tell the kernel
> "connect node X with node Y" and I get back the resulting pipeline
> identifier.
Why do you feel that this is a requirement? What exactly are you trying
to do?
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/