]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: uevent filtering
authorChristian Brauner <christianvanbrauner@gmail.com>
Tue, 22 May 2018 19:34:21 +0000 (21:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 19:24:22 +0000 (15:24 -0400)
commit230acccb8e6b71e08287a01ded746e1e38757501
treea90072f683f1639272b1f14c1dc86cc7747e2deb
parentfa071e47bc37a8a06338ace92673ba60db036cec
selftests: uevent filtering

Recent discussions around uevent filtering (cf. net-next commit [1], [2],
and [3] and discussions in [4], [5], and [6]) have shown that the semantics
around uevent filtering where not well understood.
Now that we have settled - at least for the moment - how uevent filtering
should look like let's add some selftests to ensure we don't regress
anything in the future.
Note, the semantics of uevent filtering are described in detail in my
commit message to [2] so I won't repeat them here.

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fb2699fa0bb93e95d33ba03ece07acd2f095e237
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=5e5192b9b3fe0606a2abf75a2041910ff9954e42
[3]: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=9e4b37a277d247f8ccb075066c98246b8bdf7dda
[4]: https://lkml.org/lkml/2018/4/4/739
[5]: https://lkml.org/lkml/2018/4/26/767
[6]: https://lkml.org/lkml/2018/4/26/738

Signed-off-by: Christian Brauner <christian@brauner.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/uevent/Makefile [new file with mode: 0644]
tools/testing/selftests/uevent/config [new file with mode: 0644]
tools/testing/selftests/uevent/uevent_filtering.c [new file with mode: 0644]