summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/arm64/bti/signal.h
blob: 103457dc880e3c81ae2f1902784db53b3564e197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2019  Arm Limited
 * Original author: Dave Martin <Dave.Martin@arm.com>
 */

#ifndef SIGNAL_H
#define SIGNAL_H

#include <linux/signal.h>

#include "system.h"

typedef __sighandler_t sighandler_t;

int sigemptyset(sigset_t *s);
int sigaddset(sigset_t *s, int n);
int sigaction(int n, struct sigaction *sa, const struct sigaction *old);
int sigprocmask(int how, const sigset_t *mask, sigset_t *old);

#endif /* ! SIGNAL_H */