mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 11:00:04 +08:00
9d3629143e
* libc/sys/linux/Makefile.am: Add support for new files. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/ids.c: Add __getuid weak alias for getuid. * libc/sys/linux/signal.c: Change to use real-time syscalls for sigsuspend, sigprocmask, and sigpending. Also remove sigaction as it is in a separate file now. * libc/sys/linux/machine/i386/Makefile.am * libc/sys/linux/machine/i386/Makefile.in * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>. * libc/sys/linux/sigaction.c: New file. * libc/sys/linux/sigqueue.c: Ditto. * libc/sys/linux/sigwait.c: Ditto. * libc/sys/linux/machine/i386/sigaction.c: Ditto. * libc/sys/linux/kernel_sigaction.h: Ditto.
20 lines
440 B
C
20 lines
440 B
C
/* This is the sigaction structure from the Linux 2.1.20 kernel. */
|
|
|
|
#define HAVE_SA_RESTORER
|
|
|
|
struct old_kernel_sigaction {
|
|
__sighandler_t k_sa_handler;
|
|
unsigned long sa_mask;
|
|
unsigned long sa_flags;
|
|
void (*sa_restorer) (void);
|
|
};
|
|
|
|
/* This is the sigaction structure from the Linux 2.1.68 kernel. */
|
|
|
|
struct kernel_sigaction {
|
|
__sighandler_t k_sa_handler;
|
|
unsigned long sa_flags;
|
|
void (*sa_restorer) (void);
|
|
sigset_t sa_mask;
|
|
};
|