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

Kernel+LibC: Add support for mount flags

At the moment, the actual flags are ignored, but we correctly propagate them all
the way from the original mount() syscall to each custody that resides on the
mounted FS.
This commit is contained in:
Sergey Bugaev 2020-01-11 18:25:26 +03:00 committed by Andreas Kling
parent 1e6ab0ed22
commit 4566c2d811
10 changed files with 54 additions and 34 deletions

View file

@ -332,9 +332,9 @@ struct SC_link_params {
};
struct SC_chown_params {
StringArgument path;
u32 uid;
u32 gid;
StringArgument path;
u32 uid;
u32 gid;
};
struct SC_mknod_params {
@ -357,6 +357,7 @@ struct SC_mount_params {
StringArgument source;
StringArgument target;
StringArgument fs_type;
int flags;
};
void initialize();