1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:27:43 +00:00

Kernel: Pass name+length to mmap() and remove SmapDisabler

This commit is contained in:
Andreas Kling 2020-01-06 12:04:55 +01:00
parent 33025a8049
commit a47f0c93de
3 changed files with 23 additions and 26 deletions

View file

@ -196,7 +196,8 @@ struct SC_mmap_params {
int32_t flags;
int32_t fd;
int32_t offset; // FIXME: 64-bit off_t?
const char* name { nullptr };
const char* name;
size_t name_length;
};
struct SC_open_params {