mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
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:
parent
19ffd9d677
commit
0fab0ee96a
Notes:
sideshowbarker
2024-07-19 02:47:16 +09:00
Author: https://github.com/tomuta
Commit: 0fab0ee96a
Pull-request: https://github.com/SerenityOS/serenity/pull/3453
8 changed files with 18 additions and 23 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue