]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: immediately reject invalid log levels
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 11 Sep 2020 13:42:23 +0000 (15:42 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 12 Sep 2020 08:22:51 +0000 (10:22 +0200)
commitd94bab0805cd3007414ee6ff33e2a24d585f1217
tree94747f932bd637b59c908a00e702491a976d382a
parent77db9433a777f84df17b161080049bb5ec9a1dfd
systemctl: immediately reject invalid log levels

Symbolic names and number in the appropriate range are allowed
(log_level_from_string() DTRT already).

The target names are more messy, so we leave the verification to the service.
src/systemctl/systemctl.c