Messages in this thread | | | From | (Eric W. Biederman) | Date | Thu, 03 Jul 2008 13:08:52 -0700 | Subject | Re: [PATCH 06/11] sysfs: Implement sysfs tagged directory support. |
| |
Tejun Heo <htejun@gmail.com> writes:
> Related delta: I've been thinking that uevents should be part of sysfs > not kobject as that's what the userland is gonna associate the event > with. Would that solve the problem you're thinking about?
The good news is that uevent_sock is currently restricted to just the initial network namespace (so the functionality completely disappears in the other namespaces), and that it is broadcast only.
So it should be possible to look at who the client is and by some magic criterian decide if it should receive the broadcast message.
The call to the user mode helper is trickier. How do we setup the proper user space context.
None of this is fundamentally hard just different work, for a different day.
Eric
| |