1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 13:35:07 +00:00

Kernel + LibPthread: Use Userspace<T> in the create_thread syscall

This commit is contained in:
Brian Gianforcaro 2020-08-05 00:11:56 -07:00 committed by Andreas Kling
parent 337e8f98cd
commit 7490ea9449
4 changed files with 6 additions and 6 deletions

View file

@ -355,7 +355,7 @@ struct SC_create_thread_params {
unsigned int m_guard_page_size = 0; // Rounded up to PAGE_SIZE
unsigned int m_reported_guard_page_size = 0; // The lie we tell callers
unsigned int m_stack_size = 4 * MB; // Default PTHREAD_STACK_MIN
void* m_stack_location = nullptr; // nullptr means any, o.w. process virtual address
Userspace<void*> m_stack_location; // nullptr means any, o.w. process virtual address
};
struct SC_realpath_params {