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

Kernel: Pass a parameter struct to mount()

This was the last remaining syscall that took a null-terminated string
and figured out how long it was by walking it in kernelspace *shudder*.
This commit is contained in:
Andreas Kling 2020-01-11 10:46:21 +01:00
parent e380142853
commit f5092b1c7e
5 changed files with 43 additions and 24 deletions

View file

@ -355,6 +355,12 @@ struct SC_rename_params {
StringArgument new_path;
};
struct SC_mount_params {
StringArgument source;
StringArgument target;
StringArgument fs_type;
};
void initialize();
int sync();