ladybird/Kernel/API/POSIX
sin-ack ef6921d7c7 Kernel+LibC+LibELF: Set stack size based on PT_GNU_STACK during execve
Some programs explicitly ask for a different initial stack size than
what the OS provides. This is implemented in ELF by having a
PT_GNU_STACK header which has its p_memsz set to the amount that the
program requires. This commit implements this policy by reading the
p_memsz of the header and setting the main thread stack size to that.
ELF::Image::validate_program_headers ensures that the size attribute is
a reasonable value.
2022-12-11 19:55:37 -07:00
..
net Kernel: Add support for route flags 2022-05-26 16:33:10 +02:00
netinet LibC: Add missing definitions for IPv6 packet info 2022-11-05 19:31:37 -06:00
sys Kernel+LibC+LibELF: Set stack size based on PT_GNU_STACK during execve 2022-12-11 19:55:37 -07:00
dirent.h Kernel+LibC: Share definitions for dirent.h 2021-08-14 19:58:11 +02:00
errno.h Kernel: Add ESTALE errno code (stale network file handle) 2022-04-26 14:05:49 +02:00
fcntl.h Kernel+LibC+LibCore+UserspaceEmulator: Implement faccessat(2) 2022-12-11 19:55:37 -07:00
futex.h Kernel: Clean up sys$futex and add support for cross-process futexes 2022-07-21 16:39:22 +02:00
ifaddrs.h Kernel+LibC: Stub out getifaddrs() and freeifaddrs() 2021-12-22 00:02:36 -08:00
poll.h Kernel: Add support for the POLLWRBAND poll event 2021-12-05 12:53:29 +01:00
sched.h Kernel+LibC: Report correct scheduling priority limits 2022-10-27 11:30:19 +01:00
serenity.h Kernel/Profiling: Add profiling to read syscall 2022-02-14 11:38:13 +01:00
signal.h Kernel: Add the si_errno and si_band siginfo_t members 2021-12-22 22:53:56 +02:00
stdio.h Kernel+LibC: Share definitions for stdio.h 2021-08-14 19:58:11 +02:00
termios.h Kernel+LibC: Share definitions for termios.h 2021-08-14 19:58:11 +02:00
time.h Kernel+LibC: Share definitions for time.h and sys/stat.h 2021-08-14 19:58:11 +02:00
ucontext.h Kernel: Add missing include in API 2022-09-18 13:27:24 -04:00
unistd.h Kernel+Base: Introduce MS_NOREGULAR mount flag 2022-10-22 19:18:15 +02:00