8ccb12bb5a
. create signals-related struct message type to store sigset_t directly . create notify-specific message types, so the generic NOTIFY_ARG doesn't exist anymore . various related test expansions, improvements, fixes . add a few error-checks to sigismember() calls . rename kernel call specific signals fields to SYS_* Change-Id: I53c18999b5eaf0cfa0cb25f5330bee9e7ad2b478
18 lines
545 B
C
18 lines
545 B
C
#include "syslib.h"
|
|
|
|
/*===========================================================================*
|
|
* sys_getksig *
|
|
*===========================================================================*/
|
|
int sys_getksig(proc_ep, k_sig_map)
|
|
endpoint_t *proc_ep; /* return process number here */
|
|
sigset_t *k_sig_map; /* return signal map here */
|
|
{
|
|
message m;
|
|
int result;
|
|
|
|
result = _kernel_call(SYS_GETKSIG, &m);
|
|
*proc_ep = m.SYS_SIG_ENDPT;
|
|
*k_sig_map = m.SYS_SIG_MAP;
|
|
return(result);
|
|
}
|
|
|