diff options
author | netblue30 <netblue30@yahoo.com> | 2017-12-28 12:28:08 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-12-28 12:28:08 -0500 |
commit | f9c60d5a3aaecc11b1dbb933bca45c461b03ca83 (patch) | |
tree | 4538785f5889ee8836afadb36f29308a4ccf7ccb /src/fsec-print/fsec_print.h | |
parent | Add netlink and noblacklist openssl to teamspeak3 profile - potential fix for... (diff) | |
download | firejail-f9c60d5a3aaecc11b1dbb933bca45c461b03ca83.tar.gz firejail-f9c60d5a3aaecc11b1dbb933bca45c461b03ca83.tar.zst firejail-f9c60d5a3aaecc11b1dbb933bca45c461b03ca83.zip |
replacing seccomp printing with a seccomp disassembler
Diffstat (limited to 'src/fsec-print/fsec_print.h')
-rw-r--r-- | src/fsec-print/fsec_print.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/fsec-print/fsec_print.h b/src/fsec-print/fsec_print.h new file mode 100644 index 000000000..d3f4a4df9 --- /dev/null +++ b/src/fsec-print/fsec_print.h | |||
@@ -0,0 +1,32 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014-2017 Firejail Authors | ||
3 | * | ||
4 | * This file is part of firejail project | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License along | ||
17 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | */ | ||
20 | #ifndef FSEC_PRINT_H | ||
21 | #define FSEC_PRINT_H | ||
22 | #include "../include/common.h" | ||
23 | #include "../include/seccomp.h" | ||
24 | #include <sys/mman.h> | ||
25 | |||
26 | // print.c | ||
27 | void print(struct sock_filter *filter, int entries); | ||
28 | |||
29 | // syscall_list.c | ||
30 | const char *syscall_find_nr(int nr); | ||
31 | |||
32 | #endif \ No newline at end of file | ||