diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-31 21:40:48 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-31 21:40:48 +0000 |
commit | c238a2189d15121d62faa56982cbf17f22bd5b3e (patch) | |
tree | 9c097b85d04b69cc2e11d1549f1e2349f3cd1459 /c/src/exec/posix/src/psignal.c | |
parent | fixed typo in merge of Eric Norum's patch (diff) | |
download | rtems-c238a2189d15121d62faa56982cbf17f22bd5b3e.tar.bz2 |
added checks to validate values passed to set attribute routines
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 ); |