| .. | .. |
|---|
| 60 | 60 | #define SIGSWI 32 |
|---|
| 61 | 61 | |
|---|
| 62 | 62 | /* |
|---|
| 63 | | - * SA_FLAGS values: |
|---|
| 64 | | - * |
|---|
| 65 | | - * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop. |
|---|
| 66 | | - * SA_NOCLDWAIT flag on SIGCHLD to inhibit zombies. |
|---|
| 67 | | - * SA_SIGINFO deliver the signal with SIGINFO structs |
|---|
| 68 | | - * SA_THIRTYTWO delivers the signal in 32-bit mode, even if the task |
|---|
| 69 | | - * is running in 26-bit. |
|---|
| 70 | | - * SA_ONSTACK allows alternate signal stacks (see sigaltstack(2)). |
|---|
| 71 | | - * SA_RESTART flag to get restarting signals (which were the default long ago) |
|---|
| 72 | | - * SA_NODEFER prevents the current signal from being masked in the handler. |
|---|
| 73 | | - * SA_RESETHAND clears the handler when the signal is delivered. |
|---|
| 74 | | - * |
|---|
| 75 | | - * SA_ONESHOT and SA_NOMASK are the historical Linux names for the Single |
|---|
| 76 | | - * Unix names RESETHAND and NODEFER respectively. |
|---|
| 63 | + * SA_THIRTYTWO historically meant deliver the signal in 32-bit mode, even if |
|---|
| 64 | + * the task is running in 26-bit. But since the kernel no longer supports |
|---|
| 65 | + * 26-bit mode, the flag has no effect. |
|---|
| 77 | 66 | */ |
|---|
| 78 | | -#define SA_NOCLDSTOP 0x00000001 |
|---|
| 79 | | -#define SA_NOCLDWAIT 0x00000002 |
|---|
| 80 | | -#define SA_SIGINFO 0x00000004 |
|---|
| 81 | 67 | #define SA_THIRTYTWO 0x02000000 |
|---|
| 82 | 68 | #define SA_RESTORER 0x04000000 |
|---|
| 83 | | -#define SA_ONSTACK 0x08000000 |
|---|
| 84 | | -#define SA_RESTART 0x10000000 |
|---|
| 85 | | -#define SA_NODEFER 0x40000000 |
|---|
| 86 | | -#define SA_RESETHAND 0x80000000 |
|---|
| 87 | | - |
|---|
| 88 | | -#define SA_NOMASK SA_NODEFER |
|---|
| 89 | | -#define SA_ONESHOT SA_RESETHAND |
|---|
| 90 | 69 | |
|---|
| 91 | 70 | #define MINSIGSTKSZ 2048 |
|---|
| 92 | 71 | #define SIGSTKSZ 8192 |
|---|