serenity/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
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
errno.h
fcntl.h Kernel+LibC+LibCore+UserspaceEmulator: Implement faccessat(2) 2022-12-11 19:55:37 -07:00
futex.h
ifaddrs.h
poll.h
sched.h Kernel+LibC: Report correct scheduling priority limits 2022-10-27 11:30:19 +01:00
serenity.h
signal.h
stdio.h
termios.h
time.h
ucontext.h
unistd.h Kernel+Base: Introduce MS_NOREGULAR mount flag 2022-10-22 19:18:15 +02:00