Laurent Vivier <[email protected]> writes: > But this call is strange: > > prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, > rlim_max=RLIM64_INFINITY}) = 0 > > according to man of prlimit (if prlimit64() has the same API): > > int prlimit(pid_t pid, int resource, const struct rlimit *new_limit, > struct rlimit *old_limit); > > it is setting the new_limit with a NULL pointer.
It sets nothing. It reads only. Andreas. -- Andreas Schwab, [email protected] GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

