Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/asm-gene...
File: signal.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
#ifndef __ASM_GENERIC_SIGNAL_H
[1] Fix | Delete
#define __ASM_GENERIC_SIGNAL_H
[2] Fix | Delete
[3] Fix | Delete
#include <linux/types.h>
[4] Fix | Delete
[5] Fix | Delete
#define _NSIG 64
[6] Fix | Delete
#define _NSIG_BPW __BITS_PER_LONG
[7] Fix | Delete
#define _NSIG_WORDS (_NSIG / _NSIG_BPW)
[8] Fix | Delete
[9] Fix | Delete
#define SIGHUP 1
[10] Fix | Delete
#define SIGINT 2
[11] Fix | Delete
#define SIGQUIT 3
[12] Fix | Delete
#define SIGILL 4
[13] Fix | Delete
#define SIGTRAP 5
[14] Fix | Delete
#define SIGABRT 6
[15] Fix | Delete
#define SIGIOT 6
[16] Fix | Delete
#define SIGBUS 7
[17] Fix | Delete
#define SIGFPE 8
[18] Fix | Delete
#define SIGKILL 9
[19] Fix | Delete
#define SIGUSR1 10
[20] Fix | Delete
#define SIGSEGV 11
[21] Fix | Delete
#define SIGUSR2 12
[22] Fix | Delete
#define SIGPIPE 13
[23] Fix | Delete
#define SIGALRM 14
[24] Fix | Delete
#define SIGTERM 15
[25] Fix | Delete
#define SIGSTKFLT 16
[26] Fix | Delete
#define SIGCHLD 17
[27] Fix | Delete
#define SIGCONT 18
[28] Fix | Delete
#define SIGSTOP 19
[29] Fix | Delete
#define SIGTSTP 20
[30] Fix | Delete
#define SIGTTIN 21
[31] Fix | Delete
#define SIGTTOU 22
[32] Fix | Delete
#define SIGURG 23
[33] Fix | Delete
#define SIGXCPU 24
[34] Fix | Delete
#define SIGXFSZ 25
[35] Fix | Delete
#define SIGVTALRM 26
[36] Fix | Delete
#define SIGPROF 27
[37] Fix | Delete
#define SIGWINCH 28
[38] Fix | Delete
#define SIGIO 29
[39] Fix | Delete
#define SIGPOLL SIGIO
[40] Fix | Delete
/*
[41] Fix | Delete
#define SIGLOST 29
[42] Fix | Delete
*/
[43] Fix | Delete
#define SIGPWR 30
[44] Fix | Delete
#define SIGSYS 31
[45] Fix | Delete
#define SIGUNUSED 31
[46] Fix | Delete
[47] Fix | Delete
/* These should not be considered constants from userland. */
[48] Fix | Delete
#define SIGRTMIN 32
[49] Fix | Delete
#ifndef SIGRTMAX
[50] Fix | Delete
#define SIGRTMAX _NSIG
[51] Fix | Delete
#endif
[52] Fix | Delete
[53] Fix | Delete
/*
[54] Fix | Delete
* SA_FLAGS values:
[55] Fix | Delete
*
[56] Fix | Delete
* SA_ONSTACK indicates that a registered stack_t will be used.
[57] Fix | Delete
* SA_RESTART flag to get restarting signals (which were the default long ago)
[58] Fix | Delete
* SA_NOCLDSTOP flag to turn off SIGCHLD when children stop.
[59] Fix | Delete
* SA_RESETHAND clears the handler when the signal is delivered.
[60] Fix | Delete
* SA_NOCLDWAIT flag on SIGCHLD to inhibit zombies.
[61] Fix | Delete
* SA_NODEFER prevents the current signal from being masked in the handler.
[62] Fix | Delete
*
[63] Fix | Delete
* SA_ONESHOT and SA_NOMASK are the historical Linux names for the Single
[64] Fix | Delete
* Unix names RESETHAND and NODEFER respectively.
[65] Fix | Delete
*/
[66] Fix | Delete
#define SA_NOCLDSTOP 0x00000001
[67] Fix | Delete
#define SA_NOCLDWAIT 0x00000002
[68] Fix | Delete
#define SA_SIGINFO 0x00000004
[69] Fix | Delete
#define SA_ONSTACK 0x08000000
[70] Fix | Delete
#define SA_RESTART 0x10000000
[71] Fix | Delete
#define SA_NODEFER 0x40000000
[72] Fix | Delete
#define SA_RESETHAND 0x80000000
[73] Fix | Delete
[74] Fix | Delete
#define SA_NOMASK SA_NODEFER
[75] Fix | Delete
#define SA_ONESHOT SA_RESETHAND
[76] Fix | Delete
[77] Fix | Delete
/*
[78] Fix | Delete
* New architectures should not define the obsolete
[79] Fix | Delete
* SA_RESTORER 0x04000000
[80] Fix | Delete
*/
[81] Fix | Delete
[82] Fix | Delete
#if !defined MINSIGSTKSZ || !defined SIGSTKSZ
[83] Fix | Delete
#define MINSIGSTKSZ 2048
[84] Fix | Delete
#define SIGSTKSZ 8192
[85] Fix | Delete
#endif
[86] Fix | Delete
[87] Fix | Delete
#ifndef __ASSEMBLY__
[88] Fix | Delete
typedef struct {
[89] Fix | Delete
unsigned long sig[_NSIG_WORDS];
[90] Fix | Delete
} sigset_t;
[91] Fix | Delete
[92] Fix | Delete
/* not actually used, but required for linux/syscalls.h */
[93] Fix | Delete
typedef unsigned long old_sigset_t;
[94] Fix | Delete
[95] Fix | Delete
#include <asm-generic/signal-defs.h>
[96] Fix | Delete
[97] Fix | Delete
#ifdef SA_RESTORER
[98] Fix | Delete
#define __ARCH_HAS_SA_RESTORER
[99] Fix | Delete
#endif
[100] Fix | Delete
[101] Fix | Delete
struct sigaction {
[102] Fix | Delete
__sighandler_t sa_handler;
[103] Fix | Delete
unsigned long sa_flags;
[104] Fix | Delete
#ifdef SA_RESTORER
[105] Fix | Delete
__sigrestore_t sa_restorer;
[106] Fix | Delete
#endif
[107] Fix | Delete
sigset_t sa_mask; /* mask last for extensibility */
[108] Fix | Delete
};
[109] Fix | Delete
[110] Fix | Delete
typedef struct sigaltstack {
[111] Fix | Delete
void *ss_sp;
[112] Fix | Delete
int ss_flags;
[113] Fix | Delete
size_t ss_size;
[114] Fix | Delete
} stack_t;
[115] Fix | Delete
[116] Fix | Delete
#endif /* __ASSEMBLY__ */
[117] Fix | Delete
[118] Fix | Delete
#endif /* __ASM_GENERIC_SIGNAL_H */
[119] Fix | Delete
[120] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function