https://breakpad.appspot.com/600002/diff/1/src/client/linux/handler/exception_handler.cc#newcode389 src/client/linux/handler/exception_handler.cc:389:
if(sigaction(SIGCHLD,NULL,&childsig_handler) == 0 &&
We avoid calling libc functions directly because of memory safety
concerns. You should be using the sys_ wrappers from
linux_syscall_support.h, you can look around the rest of this file for
examples.
You should be able to simply use sys_sigaction and sys_sigemptyset here.