File Index
Files and directories
Sign in
FILE

signal.h

File preview with syntax highlighting.

linux-6.19.14/arch/parisc/include/uapi/asm/signal.h C
 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 2#ifndef _UAPI_ASM_PARISC_SIGNAL_H
 3#define _UAPI_ASM_PARISC_SIGNAL_H
 4
 5#define SIGHUP		 1
 6#define SIGINT		 2
 7#define SIGQUIT		 3
 8#define SIGILL		 4
 9#define SIGTRAP		 5
10#define SIGABRT		 6
11#define SIGIOT		 6
12#define SIGSTKFLT	 7
13#define SIGFPE		 8
14#define SIGKILL		 9
15#define SIGBUS		10
16#define SIGSEGV		11
17#define SIGXCPU		12
18#define SIGPIPE		13
19#define SIGALRM		14
20#define SIGTERM		15
21#define SIGUSR1		16
22#define SIGUSR2		17
23#define SIGCHLD		18
24#define SIGPWR		19
25#define SIGVTALRM	20
26#define SIGPROF		21
27#define SIGIO		22
28#define SIGPOLL		SIGIO
29#define SIGWINCH	23
30#define SIGSTOP		24
31#define SIGTSTP		25
32#define SIGCONT		26
33#define SIGTTIN		27
34#define SIGTTOU		28
35#define SIGURG		29
36#define SIGXFSZ		30
37#define SIGUNUSED	31
38#define SIGSYS		31
39
40/* These should not be considered constants from userland.  */
41#define SIGRTMIN	32
42#define SIGRTMAX	_NSIG
43
44#define SA_ONSTACK	0x00000001
45#define SA_RESETHAND	0x00000004
46#define SA_NOCLDSTOP	0x00000008
47#define SA_SIGINFO	0x00000010
48#define SA_NODEFER	0x00000020
49#define SA_RESTART	0x00000040
50#define SA_NOCLDWAIT	0x00000080
51
52#define SA_NOMASK	SA_NODEFER
53#define SA_ONESHOT	SA_RESETHAND
54
55#define MINSIGSTKSZ	2048
56#define SIGSTKSZ	8192
57
58#include <asm-generic/signal-defs.h>
59
60#define _NSIG		64
61#define _NSIG_BPW	(sizeof(unsigned long) * 8)
62#define _NSIG_WORDS	(_NSIG / _NSIG_BPW)
63
64# ifndef __ASSEMBLER__
65
66#  include <linux/types.h>
67
68typedef unsigned long old_sigset_t;	/* at least 32 bits */
69
70typedef struct {
71	unsigned long sig[_NSIG_WORDS];
72} sigset_t;
73
74/* Avoid too many header ordering problems.  */
75struct siginfo;
76
77typedef struct sigaltstack {
78	void __user *ss_sp;
79	int ss_flags;
80	__kernel_size_t ss_size;
81} stack_t;
82
83#endif /* !__ASSEMBLER__ */
84#endif /* _UAPI_ASM_PARISC_SIGNAL_H */
~/ Read-only file preview.