diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-08 21:51:20 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-08 21:51:20 +0200 |
| commit | bcc74b466240a3df8a4750e2a5a60a3748d6b3d7 (patch) | |
| tree | 319bb133e5079070a300b5b78d7001f2899edc68 /dev/libSystem/src | |
| parent | 4afdeade47b4295e49b9d65ae26fa218e2fd81dd (diff) | |
fix: libSystem: return JAIL correctly and fix missing macro in
JailCalls.cc
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/libSystem/src')
| -rw-r--r-- | dev/libSystem/src/JailCalls.cc | 2 | ||||
| -rw-r--r-- | dev/libSystem/src/VerifyCalls.cc | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/dev/libSystem/src/JailCalls.cc b/dev/libSystem/src/JailCalls.cc index 32192a13..85796e9f 100644 --- a/dev/libSystem/src/JailCalls.cc +++ b/dev/libSystem/src/JailCalls.cc @@ -13,5 +13,5 @@ using namespace LibSystem; IMPORT_C struct JAIL* JailGetCurrent(Void) { - (struct JAIL*)libsys_syscall_arg_1(SYSCALL_HASH("JailGetCurrent")); + return (struct JAIL*)libsys_syscall_arg_1(SYSCALL_HASH("JailGetCurrent")); }
\ No newline at end of file diff --git a/dev/libSystem/src/VerifyCalls.cc b/dev/libSystem/src/VerifyCalls.cc index fb38c682..83617ae0 100644 --- a/dev/libSystem/src/VerifyCalls.cc +++ b/dev/libSystem/src/VerifyCalls.cc @@ -6,6 +6,7 @@ #include <libSystem/SystemKit/Err.h> #include <libSystem/SystemKit/Verify.h> +#include <libSystem/SystemKit/Syscall.h> using namespace LibSystem; |
