Kay Sievers wrote: > On Sat, Oct 25, 2008 at 18:19, Alan Jenkins <alan-jenkins@xxxxxxxxxxxxxx> wrote: > >> Kay Sievers wrote: >> > > >>> Also the snprintf() that was used compose the buffer to pass the event >>> to a socket was _very_ expensive. We just use strlcpy() now and cache >>> the result for the next RUN+="socket:" call. >>> >> I might adapt that for udev-exec. >> >> But I think it needs a flag like envp_uptodate, no? >> > > It uses monitor_buf_len, which is reset to 0, if a property gets > changed. Is that what you mean? > > Kay > Sneaky. Yes, that's what I was looking for. -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html