Am trying to reduce the stack size using setrlimit command using the following program... but am not getting the result...
Can anybody help me in this...?
THanks
Last edited by Neo; 08-14-2007 at 08:03 AM..
Reason: fixed code tags
I'am expecting a signal, but no signal is received when the stack-size reaches 10 bytes.
Here in this code i'am setting rlim_cur=10bytes.
To be more precise, when it reaches 10 bytes the process must receive a SIGSEGV signal? But i find no signal being received.
Am i missing something in this... (0 Replies)