1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:17:34 +00:00

Kernel: Rename Syscall::SyscallString => Syscall::StringArgument

This commit is contained in:
Andreas Kling 2020-01-10 20:15:58 +01:00
parent 0695ff8282
commit 416c7ac2b5
3 changed files with 8 additions and 8 deletions

View file

@ -300,7 +300,7 @@ struct SC_set_mmap_name_params {
size_t name_length;
};
struct SyscallString {
struct StringArgument {
const char* characters { nullptr };
size_t length { 0 };
};
@ -312,18 +312,18 @@ struct MutableBufferArgument {
};
struct SyscallStringList {
SyscallString* strings { nullptr };
StringArgument* strings { nullptr };
size_t length { 0 };
};
struct SC_execve_params {
SyscallString path;
StringArgument path;
SyscallStringList arguments;
SyscallStringList environment;
};
struct SC_readlink_params {
SyscallString path;
StringArgument path;
MutableBufferArgument<char, size_t> buffer;
};