As it happens, my top-of-tree snapshot is missing this routine. I'm
re-snapping it now but I think you're right that it's a merge issue with
linux-next. The fix, however, is trivial: Replace the entire if block
with the line:
update_rlimit_cpu(rlim->rlim_cur);
The above snippet becomes:
if (rc) {
for (i = 0; i < RLIM_NLIMITS; i++) {
rlim = current->signal->rlim + i;
initrlim = init_task.signal->rlim+i;
rlim->rlim_cur = min(rlim->rlim_max, initrlim->rlim_cur);
}
update_rlimit_cpu(rlim->rlim_cur);
}
And double-check that linux/posix-timers.h is being #included around
line 80.
--
Frank Mayhar <fmayhar@google.com>
Google, Inc.
--