]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/namespace.c
core: ProtectKernelLogs= mask kmsg in proc and sys
authorKevin Kuehler <keur@xcf.berkeley.edu>
Sun, 10 Nov 2019 09:17:01 +0000 (01:17 -0800)
committerKevin Kuehler <keur@xcf.berkeley.edu>
Thu, 14 Nov 2019 20:58:43 +0000 (12:58 -0800)
commit94a7b2759d39fcfed1381ac324cc24a83ec4d1be
treef0d16d22a0c3429b1d2f2a54adb1e112a8fec757
parent07cab0f72b084644f12dc3083f880514250590fe
core: ProtectKernelLogs= mask kmsg in proc and sys

Block access to /dev/kmsg and /proc/kmsg when ProtectKernelLogs is set.
src/core/execute.c
src/core/namespace.c
src/core/namespace.h