1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

Kernel+LibC: Allow sys$mmap() callers to specify address alignment

This is exposed via the non-standard serenity_mmap() call in userspace.
This commit is contained in:
Andreas Kling 2020-02-16 12:55:56 +01:00
parent 02e199a9cb
commit 31e1af732f
7 changed files with 66 additions and 30 deletions

View file

@ -240,6 +240,7 @@ struct StringListArgument {
struct SC_mmap_params {
uint32_t addr;
uint32_t size;
uint32_t alignment;
int32_t prot;
int32_t flags;
int32_t fd;