Files
ladybird/Kernel
Andreas Kling 24c736b0e7 Kernel: Use the Syscall string and buffer types more
While I was updating syscalls to stop passing null-terminated strings,
I added some helpful struct types:

    - StringArgument { const char*; size_t; }
    - ImmutableBuffer<Data, Size> { const Data*; Size; }
    - MutableBuffer<Data, Size> { Data*; Size; }

The Process class has some convenience functions for validating and
optionally extracting the contents from these structs:

    - get_syscall_path_argument(StringArgument)
    - validate_and_copy_string_from_user(StringArgument)
    - validate(ImmutableBuffer)
    - validate(MutableBuffer)

There's still so much code around this and I'm wondering if we should
generate most of it instead. Possible nice little project.
2020-01-11 12:47:47 +01:00
..
2020-01-11 12:07:45 +01:00
2019-12-29 19:08:02 +01:00
2019-12-31 19:31:42 +01:00
2019-12-20 22:59:11 +01:00
2019-12-26 11:43:23 +01:00
2019-09-28 13:59:49 +02:00
2020-01-02 21:45:04 +01:00