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:
parent
d6b06fd5a3
commit
7c916b9fe9
4 changed files with 29 additions and 13 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue