diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-17 05:32:29 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-25 12:32:18 +0100 |
commit | 3cc6b14a87f813bfdda36fe3ca0e65888cffd0b2 (patch) | |
tree | 33df75d21e3e49513e186e976d884c032cdcf5e0 /src/udev/udevadm.c | |
parent | selinux-util: do not use log_internal_realm() without setting log realm (diff) | |
download | systemd-3cc6b14a87f813bfdda36fe3ca0e65888cffd0b2.tar.xz systemd-3cc6b14a87f813bfdda36fe3ca0e65888cffd0b2.zip |
udev: stop to use LOG_REALM_UDEV
Before this commit, udevd is built with LOG_REALM=LOG_REALM_UDEV.
However, log level specified by e.g. environment variable or kernel
command line option are also passed to LOG_REALM_SYSTEMD. So, the
maximum log level for the two realms are always equivalent, and it is
not necessary to specify the build option. Hence drop it.
Diffstat (limited to 'src/udev/udevadm.c')
-rw-r--r-- | src/udev/udevadm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/udev/udevadm.c b/src/udev/udevadm.c index 408e4a3467..39e40411b1 100644 --- a/src/udev/udevadm.c +++ b/src/udev/udevadm.c @@ -122,8 +122,6 @@ static int run(int argc, char *argv[]) { if (r <= 0) return r; - log_set_max_level_realm(LOG_REALM_SYSTEMD, log_get_max_level()); - r = mac_selinux_init(); if (r < 0) return r; |