mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:57: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:
parent
e380142853
commit
f5092b1c7e
5 changed files with 43 additions and 24 deletions
|
@ -179,7 +179,7 @@ public:
|
|||
int sys$unlink(const char* pathname, size_t path_length);
|
||||
int sys$symlink(const Syscall::SC_symlink_params*);
|
||||
int sys$rmdir(const char* pathname, size_t path_length);
|
||||
int sys$mount(const char* device, const char* mountpoint, const char* fstype);
|
||||
int sys$mount(const Syscall::SC_mount_params*);
|
||||
int sys$umount(const char* mountpoint, size_t mountpoint_length);
|
||||
int sys$chmod(const char* pathname, size_t path_length, mode_t);
|
||||
int sys$fchmod(int fd, mode_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue