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:
parent
ad2f95e35a
commit
73e06a1983
9 changed files with 16 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue