summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/ptrace.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-06 13:59:22 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-06 14:05:58 +0200
commit208147c77cf204e14126754bba4f7483e50213eb (patch)
treeabf7035eeb99b946a215061b1fd48c12065b6538 /Kernel/Syscalls/ptrace.cpp
parentb7476d7a1b71ecee6488b6daa4cf41753b699646 (diff)
downloadserenity-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/Syscalls/ptrace.cpp')
-rw-r--r--Kernel/Syscalls/ptrace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/ptrace.cpp b/Kernel/Syscalls/ptrace.cpp
index 06ccc8e02d..32919cd7d5 100644
--- a/Kernel/Syscalls/ptrace.cpp
+++ b/Kernel/Syscalls/ptrace.cpp
@@ -195,7 +195,7 @@ KResultOr<u32> Process::peek_user_data(Userspace<const u32*> address)
KResult Process::poke_user_data(Userspace<u32*> address, u32 data)
{
Memory::VirtualRange range = { VirtualAddress(address), sizeof(u32) };
- auto* region = space().find_region_containing(range);
+ auto* region = address_space().find_region_containing(range);
if (!region)
return EFAULT;
ProcessPagingScope scope(*this);