Re: [PATCH 2/2] uevent: handle duplicate uevent_var keys properly

From: Greg KH
Date: Thu Aug 28 2008 - 12:52:18 EST


On Thu, Aug 28, 2008 at 06:31:02PM +0200, Tejun Heo wrote:
> add_uevent_var() appends the specified variable whether the new entry
> has duplicate key or not. This patch makes add_uevent_var() to
> override the existing entry if an entry with the same key is added
> later. This will be used by CUSE (character device in userland) to
> fake hotplug events.

Hm, do you have any pointers to CUSE, that sounds interesting.

And how would this change interact with fake hotplug events?

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/