]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev-ctrl: refuse ENV control message with invalid environment assignment 35736/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 21 Dec 2024 21:34:33 +0000 (06:34 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 4 Jan 2025 12:54:40 +0000 (21:54 +0900)
commitbbb0dbe6b1fad7c8d8250f5dff334a2de8766559
tree65007a5d77a1f1053a385fe794b530eebe4c867f
parent4c547d216aad4a61d58a6962d0256da3c6ae6a71
udev-ctrl: refuse ENV control message with invalid environment assignment

Previously, udevd accepts an arbitrary pair of key and value.
Let's make the environment variable assignment more strict for safety.

Note, we already refuse environment variables with the same way in
net/link-config.c.
src/udev/udev-manager.c