On Tue, 9 Sep 2008 09:14:07 +0200
Adam Tkac <vonsch@gmail.com> wrote:
The kernel has had this behaviour for a long time. 2.6.13 had:
if ((new_rlim.rlim_max > old_rlim->rlim_max) &&
!capable(CAP_SYS_RESOURCE))
return -EPERM;
if (resource == RLIMIT_NOFILE && new_rlim.rlim_max > NR_OPEN)
return -EPERM;
I don't immediately see a problem with your change, but what makes you
believe that it is needed? Is there some standard which we're
violating? Is there some operational situation in which the current
behaviour is causing a problem?
Thanks.
--