Don't do things we aren't allowed to do in a signal handler... Defer
authorJohn-Mark Gurney <jmg@FreeBSD.org>
Mon, 18 May 2015 19:18:42 +0000 (19:18 +0000)
committerJohn-Mark Gurney <jmg@FreeBSD.org>
Mon, 18 May 2015 19:18:42 +0000 (19:18 +0000)
commite48a49b3339ebbe256a04ee86c80004a60e9859e
tree365e7cc9deff2bc10a3d5222f1e971cf498e47b1
parent2b6bbe110f4561592dd62938cffb7ace9177f9a8
Don't do things we aren't allowed to do in a signal handler...  Defer
the work to the main thread...  This fixes a possible crash if SIGINFO
is delivered at the wrong time...

This still leaves getrusage broken for some reason, but I believe that
is a kernel issue and cannot be fixed here...
usr.bin/time/time.c