mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
Kernel: Pass name+length to mmap() and remove SmapDisabler
This commit is contained in:
parent
33025a8049
commit
a47f0c93de
3 changed files with 23 additions and 26 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue