summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-06 11:56:59 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-06 11:56:59 +0100
commit33025a8049e49d4e5f1bc5cbba73465c8b285d25 (patch)
treec35f681e51e228d70342961e8fec2f5f6d63eb65 /Kernel/Syscall.h
parent6af8392cf8fef6b4b03860eac5aeb3b5f5b62341 (diff)
downloadserenity-33025a8049e49d4e5f1bc5cbba73465c8b285d25.zip
Kernel: Pass name+length to set_mmap_name() and remove SmapDisabler
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r--Kernel/Syscall.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h
index 36b937ba05..c8f462caad 100644
--- a/Kernel/Syscall.h
+++ b/Kernel/Syscall.h
@@ -298,6 +298,13 @@ struct SC_realpath_params {
size_t buffer_size;
};
+struct SC_set_mmap_name_params {
+ void* addr;
+ size_t size;
+ const char* name;
+ size_t name_length;
+};
+
void initialize();
int sync();