summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.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/Syscall.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/Syscall.cpp')
-rw-r--r--Kernel/Syscall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscall.cpp b/Kernel/Syscall.cpp
index e9fd4e3391..58f6e80f1a 100644
--- a/Kernel/Syscall.cpp
+++ b/Kernel/Syscall.cpp
@@ -201,7 +201,7 @@ NEVER_INLINE void syscall_handler(TrapFrame* trap)
PANIC("Syscall from process with IOPL != 0");
}
- MM.validate_syscall_preconditions(process.space(), regs);
+ MM.validate_syscall_preconditions(process.address_space(), regs);
FlatPtr function;
FlatPtr arg1;