diff options
Diffstat (limited to 'c/src/exec/posix/src/psignal.c')
-rw-r--r-- | c/src/exec/posix/src/psignal.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/psignal.c b/c/src/exec/posix/src/psignal.c index 5a4222b075..b0c79b9589 100644 --- a/c/src/exec/posix/src/psignal.c +++ b/c/src/exec/posix/src/psignal.c @@ -31,6 +31,12 @@ int kill( int sig ) { + /* + * Only supported for the "calling process" (i.e. this node). + */ + + assert( pid == getpid() ); + /* SIGABRT comes from abort via assert */ if ( sig == SIGABRT ) { exit( 1 ); |