[PATCH 06/11] sysfs: Implement sysfs tagged directory support.

Eric W. Biederman ebiederm at xmission.com
Thu Jul 3 13:08:52 PDT 2008


Tejun Heo <htejun at 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



More information about the Containers mailing list