On Wed, Jun 14, 2006 at 04:26:38PM +0200, Daniele orlandi wrote:
>
> Hello,
>
> I'm trying to figure out what is the correct way to pass references to
> kobjects between userland and kernel space.
Use the kobject_uevent() call from kernelspace to let userspace know
whatever you want it to. That is what it is there for :)
>
> I have my big object hierarchy of kobjects representing a TDM interconnect
> graph with channels, crossconnectors, physical ports and so on.
> The main objects are nodes and archs; archs connect two nodes together.
>
> The hierarchy is exported to sysfs.
>
> From userland I want to tell the kernel "Connect node X to node Y".
Then use the names of the kobjects within your subdirectory. They have
to be unique so you should be safe.
Or use configfs :)
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]