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