OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * syscall reporting example for seccomp |
| 3 * |
| 4 * Copyright (c) 2012 The Chromium OS Authors <chromium-os-dev@chromium.org> |
| 5 * Authors: |
| 6 * Kees Cook <keescook@chromium.org> |
| 7 * Will Drewry <wad@chromium.org> |
| 8 * |
| 9 * Use of this source code is governed by a BSD-style license that can be |
| 10 * found in the LICENSE file. |
| 11 */ |
| 12 #ifndef _BPF_REPORTER_H_ |
| 13 #define _BPF_REPORTER_H_ |
| 14 |
| 15 #include "seccomp_bpf.h" |
| 16 |
| 17 #undef KILL_PROCESS |
| 18 #define KILL_PROCESS \ |
| 19 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_TRAP) |
| 20 |
| 21 extern int install_syscall_reporter(void); |
| 22 |
| 23 #endif |
OLD | NEW |