1 /*
2 * Copyright (c) 2018 Chen Jingpiao <chenjingpiao@gmail.com>
3 * Copyright (c) 2019 Paul Chaignon <paul.chaignon@gmail.com>
4 * Copyright (c) 2018-2021 The strace developers.
5 * All rights reserved.
6 *
7 * SPDX-License-Identifier: LGPL-2.1-or-later
8 */
9
10 #ifndef STRACE_SECCOMP_FILTER_H
11 # define STRACE_SECCOMP_FILTER_H
12
13 # include "defs.h"
14
15 extern bool seccomp_filtering;
16 extern bool seccomp_before_sysentry;
17
18 extern void check_seccomp_filter(void);
19 extern void init_seccomp_filter(void);
20 extern int seccomp_filter_restart_operator(const struct tcb *);
21
22 #endif /* !STRACE_SECCOMP_FILTER_H */