Reset the limits unconditionally.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Sun, 5 Nov 2006 17:46:33 +0000 (17:46 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Sun, 5 Nov 2006 17:46:33 +0000 (17:46 +0000)
commit5d4d5abf56790185e06add059e8b7ff824e6f9bf
treeca546a50d1dea3f1c08a211d08cb3a395144c277
parent29fd9845a8128b8e7f6c3828da14d724f8e748f7
Reset the limits unconditionally.
Treat RLIMIT_NOFILE specially, since the kernel does.
Fix dietlibc'isms, and handle sys_old_getrlimit's values.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2371 94cd875c-1c1d-0410-91d2-eb244daf1a30
src/exec-ulimit.c