patches for easier mirroring, to eliminate a special copy, to make www.freebsd.org/security a full copy of security.freebsd.org and be eventually be the same. For now files are just sitting there. The symlinks are missing. Discussed on: www (repository location) Discussed with: simon (so)
14 lines
476 B
Diff
14 lines
476 B
Diff
Index: sys/kern/kern_time.c
|
|
===================================================================
|
|
--- sys/kern/kern_time.c (revision 190192)
|
|
+++ sys/kern/kern_time.c (working copy)
|
|
@@ -1085,7 +1085,8 @@
|
|
struct itimer *it;
|
|
|
|
PROC_LOCK_ASSERT(p, MA_OWNED);
|
|
- if ((p->p_itimers == NULL) || (timerid >= TIMER_MAX) ||
|
|
+ if ((p->p_itimers == NULL) ||
|
|
+ (timerid < 0) || (timerid >= TIMER_MAX) ||
|
|
(it = p->p_itimers->its_timers[timerid]) == NULL) {
|
|
return (NULL);
|
|
}
|