1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00

Kernel: Convert klog() => AK::Format in a handful of places

This commit is contained in:
Andreas Kling 2021-03-12 14:06:37 +01:00
parent ad2f95e35a
commit 73e06a1983
9 changed files with 16 additions and 17 deletions

View file

@ -35,7 +35,7 @@ KResult Process::do_kill(Process& process, int signal)
if (!is_superuser() && euid() != process.uid() && uid() != process.uid())
return EPERM;
if (process.is_kernel_process() && signal == SIGKILL) {
klog() << "attempted to send SIGKILL to kernel process " << process.name().characters() << "(" << process.pid().value() << ")";
dbgln("Aattempted to send SIGKILL to kernel process {} ({})", process.name(), process.pid());
return EPERM;
}
if (signal != 0)