Top "Setrlimit" questions

system call included in POSIX which allows setting of limits on operating system resources like CPU, memory, files and possibly others

Set stack size with setrlimit() and provoke a stack overflow/segfault

In the given example below I try to set the stacksize to 1kb. Why is it now possible to allocate …

c linux stack segmentation-fault setrlimit