Re: udevd: be more careful when matching against parents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 1, 2008 at 17:10, Alan Jenkins <alan-jenkins@xxxxxxxxxxxxxx> wrote:
> I'm worried about what will happen with things like
>
> KERNELS=="*" # pointless rule
> KERNELS=="doesnt-match" # another pointless rule
>
> Since TK_RULE < TK_M_PARENTS_MAX, we will try to match all three tokens
> against parents of the current device.  I can't think of a bad case,
> but it's not exactly good either.

Good catch. Looks safer, yes. Applied.

Thanks,
Kay
--
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

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux