/* These should not be considered constants from userland. */ #define SIGRTMIN 32 #define SIGRTMAX _NSIG
#define SA_RESTORER 0x04000000
#define MINSIGSTKSZ 2048 #define SIGSTKSZ 8192
#include <asm-generic/signal-defs.h>
#ifndef __KERNEL__
/* * There are two system calls in regard to sigaction, sys_rt_sigaction * and sys_sigaction. Internally the kernel uses the struct old_sigaction * for the older sys_sigaction system call, and the kernel version of the * struct sigaction for the newer sys_rt_sigaction. * * The uapi definition for struct sigaction has made a strange distinction * between 31-bit and 64-bit in the past. For 64-bit the uapi structure * looks like the kernel struct sigaction, but for 31-bit it used to * look like the kernel struct old_sigaction. That practically made the * structure unusable for either system call. To get around this problem * the glibc always had its own definitions for the sigaction structures. * * The current struct sigaction uapi definition below is suitable for the * sys_rt_sigaction system call only.
*/ struct sigaction { union {
__sighandler_t _sa_handler; void (*_sa_sigaction)(int, struct siginfo *, void *);
} _u; unsignedlong sa_flags; void (*sa_restorer)(void);
sigset_t sa_mask;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.