Stack size limit
My research has led me to believe that limiting stack size is unfair to
languages like Ada and Rust that prioritise security. Whilst there are a
number of invalid reasons posted online for limiting it more than the heap.
The real reason was limited virtual address space which is not an issue on
64-bit systems. The stack is also faster generally (the heap is useful for
some data structures of course) and so discouraging it's use so heavily for
programs without root seems sub optimal?
Even if the kernel probably shouldn't. There might be an issue of the kernel
expecting it to be limited even though it probably shouldn't. Does anyone
know if that is true?
--
Regards, Kc
Reply to: