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

Kernel: Make realpath() take path+length, get rid of SmapDisabler

This commit is contained in:
Andreas Kling 2020-01-06 11:32:25 +01:00
parent d6b06fd5a3
commit 7c916b9fe9
4 changed files with 29 additions and 13 deletions

View file

@ -291,6 +291,13 @@ struct SC_create_thread_params {
void* m_stack_location = nullptr; // nullptr means any, o.w. process virtual address
};
struct SC_realpath_params {
const char* path;
size_t path_length;
char* buffer;
size_t buffer_size;
};
void initialize();
int sync();