xref: /linux/tools/testing/selftests/arm64/bti/signal.h (revision f9bff0e31881d03badf191d3b0005839391f5f2b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2019  Arm Limited
4  * Original author: Dave Martin <Dave.Martin@arm.com>
5  */
6 
7 #ifndef SIGNAL_H
8 #define SIGNAL_H
9 
10 #include <linux/signal.h>
11 
12 #include "system.h"
13 
14 typedef __sighandler_t sighandler_t;
15 
16 int sigemptyset(sigset_t *s);
17 int sigaddset(sigset_t *s, int n);
18 int sigaction(int n, struct sigaction *sa, const struct sigaction *old);
19 int sigprocmask(int how, const sigset_t *mask, sigset_t *old);
20 
21 #endif /* ! SIGNAL_H */
22