Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

filter_seccomp.h 541B

123456789101112131415161718192021
  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. #ifndef STRACE_SECCOMP_FILTER_H
  9. # define STRACE_SECCOMP_FILTER_H
  10. # include "defs.h"
  11. extern bool seccomp_filtering;
  12. extern bool seccomp_before_sysentry;
  13. extern void check_seccomp_filter(void);
  14. extern void init_seccomp_filter(void);
  15. extern int seccomp_filter_restart_operator(const struct tcb *);
  16. #endif /* !STRACE_SECCOMP_FILTER_H */