udev: fix SECLABEL{selinux} issue (#15064)
authorValery0xff <valery.chernous@gmail.com>
Wed, 11 Mar 2020 00:20:36 +0000 (02:20 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 18 Mar 2020 19:24:18 +0000 (20:24 +0100)
commitd58988be7fab2bf3e037ccf175f3cace41f82b80
treed37b4f3b75fb494812519142290bdaea5c36f80d
parent98f8a718c161d45b0001ee68f2ec7d111da79397
udev: fix SECLABEL{selinux} issue (#15064)

Add SECLABEL{selinux}="some value" cause udevadm crash
systemd-udevd[x]: Worker [x] terminated by signal 11 (SEGV)

It happens since 25de7aa7b90 (Yu Watanabe 2019-04-25 01:21:11 +0200)
when udev rules processing changed to token model. Yu forgot store
attr to SECLABEL token so fix it.

(cherry picked from commit 0335d110afc08baf47d76b7011ce02510dfdd524)
src/udev/udev-rules.c