cache: Use sigaction() instead of signal()