diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-06 13:59:22 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-06 14:05:58 +0200 |
commit | 208147c77cf204e14126754bba4f7483e50213eb (patch) | |
tree | abf7035eeb99b946a215061b1fd48c12065b6538 /Kernel/ProcessSpecificExposed.cpp | |
parent | b7476d7a1b71ecee6488b6daa4cf41753b699646 (diff) | |
download | serenity-208147c77cf204e14126754bba4f7483e50213eb.zip |
Kernel: Rename Process::space() => Process::address_space()
We commonly talk about "a process's address space" so let's nudge the
code towards matching how we talk about it. :^)
Diffstat (limited to 'Kernel/ProcessSpecificExposed.cpp')
-rw-r--r-- | Kernel/ProcessSpecificExposed.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/ProcessSpecificExposed.cpp b/Kernel/ProcessSpecificExposed.cpp index 9685cfd33a..3cf220cd7c 100644 --- a/Kernel/ProcessSpecificExposed.cpp +++ b/Kernel/ProcessSpecificExposed.cpp @@ -443,8 +443,8 @@ private: return false; JsonArraySerializer array { builder }; { - ScopedSpinLock lock(process->space().get_lock()); - for (auto& region : process->space().regions()) { + ScopedSpinLock lock(process->address_space().get_lock()); + for (auto& region : process->address_space().regions()) { if (!region->is_user() && !Process::current()->is_superuser()) continue; auto region_object = array.add_object(); |