Kernel: Rename Process::is_ring0/3 to Process::is_kernel/user_process

Since "rings" typically refer to code execution and user processes
can also execute in ring 0, rename these functions to more accurately
describe what they mean: kernel processes and user processes.
This commit is contained in:
Tom 2020-09-10 09:46:24 -06:00 committed by Andreas Kling
commit 0fab0ee96a
Notes: sideshowbarker 2024-07-19 02:47:16 +09:00
8 changed files with 18 additions and 23 deletions

View file

@ -830,7 +830,7 @@ static Optional<KBuffer> procfs$all(InodeIdentifier)
auto build_process = [&](const Process& process) {
auto process_object = array.add_object();
if (process.is_ring3()) {
if (process.is_user_process()) {
StringBuilder pledge_builder;
#define __ENUMERATE_PLEDGE_PROMISE(promise) \