CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2015/04/28 14:54:18

Modified files:
        sys/kern       : kern_time.c 

Log message:
Protect the per-process itimerval structs with a mutex.  We update these
from hardclock() which runs without grabbing the kernel lock.  This means
that two threads could concurrently update the struct which could lead to
corruption of the value which in turn could stop the timer.  It could also
result in getitimer(2) returning a non-normalized value.

With help from guenther@.

ok deraadt@, guenther@

Reply via email to