procmgmt: Introduce spawnprocve_sig
authorMarc Dionne <marc.c.dionne@gmail.com>
Sat, 22 Sep 2012 19:29:52 +0000 (15:29 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Tue, 1 Oct 2013 14:10:58 +0000 (07:10 -0700)
commit6016d2291a3a14777283c0ea5c9c37d761c9e1f6
tree0e24b193837625be0c9c964dd5e08d87dd28beda
parent1cf6678fdaae82871a9aeb4addfed3a2db1954e8
procmgmt: Introduce spawnprocve_sig

Introduce spawnprocve_sig, a variant of spawnprocve that allows
a caller to spawn a process with a specific signal mask.
This is useful when we want to set a mask that is different
from the current one.  It needs to be done after the fork()
so that the current thread is not affected.

Change-Id: I900c85cb70d22756b78562618b0e853dcedf8235
Reviewed-on: http://gerrit.openafs.org/8749
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/procmgmt/procmgmt.h
src/procmgmt/procmgmt_unix.c