aboutsummaryrefslogtreecommitdiffstats
path: root/src/fseccomp/main.c
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-03-09 08:39:25 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-03-09 08:39:25 -0500
commitc79aa14295f907ffac0cf5555515602b7393b8b6 (patch)
tree87a114af4e12388e09e2d16d518b50be9ddbe0a6 /src/fseccomp/main.c
parenttesting (diff)
downloadfirejail-c79aa14295f907ffac0cf5555515602b7393b8b6.tar.gz
firejail-c79aa14295f907ffac0cf5555515602b7393b8b6.tar.zst
firejail-c79aa14295f907ffac0cf5555515602b7393b8b6.zip
testing
Diffstat (limited to 'src/fseccomp/main.c')
-rw-r--r--src/fseccomp/main.c54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/fseccomp/main.c b/src/fseccomp/main.c
index 57a5a6d67..0b46daf65 100644
--- a/src/fseccomp/main.c
+++ b/src/fseccomp/main.c
@@ -23,33 +23,33 @@ int arg_quiet = 0;
23int arg_seccomp_error_action = SECCOMP_RET_ERRNO | EPERM; // error action: errno, log or kill 23int arg_seccomp_error_action = SECCOMP_RET_ERRNO | EPERM; // error action: errno, log or kill
24 24
25static void usage(void) { 25static void usage(void) {
26 printf("Usage:\n"); 26 printf("Usage:\n"
27 printf("\tfseccomp debug-syscalls\n"); 27 "\tfseccomp debug-syscalls\n"
28 printf("\tfseccomp debug-syscalls32\n"); 28 "\tfseccomp debug-syscalls32\n"
29 printf("\tfseccomp debug-errnos\n"); 29 "\tfseccomp debug-errnos\n"
30 printf("\tfseccomp debug-protocols\n"); 30 "\tfseccomp debug-protocols\n"
31 printf("\tfseccomp protocol build list file\n"); 31 "\tfseccomp protocol build list file\n"
32 printf("\tfseccomp secondary 64 file\n"); 32 "\tfseccomp secondary 64 file\n"
33 printf("\tfseccomp secondary 32 file\n"); 33 "\tfseccomp secondary 32 file\n"
34 printf("\tfseccomp secondary block file\n"); 34 "\tfseccomp secondary block file\n"
35 printf("\tfseccomp default file\n"); 35 "\tfseccomp default file\n"
36 printf("\tfseccomp default file allow-debuggers\n"); 36 "\tfseccomp default file allow-debuggers\n"
37 printf("\tfseccomp default32 file\n"); 37 "\tfseccomp default32 file\n"
38 printf("\tfseccomp default32 file allow-debuggers\n"); 38 "\tfseccomp default32 file allow-debuggers\n"
39 printf("\tfseccomp drop file1 file2 list\n"); 39 "\tfseccomp drop file1 file2 list\n"
40 printf("\tfseccomp drop file1 file2 list allow-debuggers\n"); 40 "\tfseccomp drop file1 file2 list allow-debuggers\n"
41 printf("\tfseccomp drop32 file1 file2 list\n"); 41 "\tfseccomp drop32 file1 file2 list\n"
42 printf("\tfseccomp drop32 file1 file2 list allow-debuggers\n"); 42 "\tfseccomp drop32 file1 file2 list allow-debuggers\n"
43 printf("\tfseccomp default drop file1 file2 list\n"); 43 "\tfseccomp default drop file1 file2 list\n"
44 printf("\tfseccomp default drop file1 file2 list allow-debuggers\n"); 44 "\tfseccomp default drop file1 file2 list allow-debuggers\n"
45 printf("\tfseccomp default32 drop file1 file2 list\n"); 45 "\tfseccomp default32 drop file1 file2 list\n"
46 printf("\tfseccomp default32 drop file1 file2 list allow-debuggers\n"); 46 "\tfseccomp default32 drop file1 file2 list allow-debuggers\n"
47 printf("\tfseccomp keep file1 file2 list\n"); 47 "\tfseccomp keep file1 file2 list\n"
48 printf("\tfseccomp keep32 file1 file2 list\n"); 48 "\tfseccomp keep32 file1 file2 list\n"
49 printf("\tfseccomp memory-deny-write-execute file\n"); 49 "\tfseccomp memory-deny-write-execute file\n"
50 printf("\tfseccomp memory-deny-write-execute.32 file\n"); 50 "\tfseccomp memory-deny-write-execute.32 file\n"
51 printf("\tfseccomp restrict-namespaces file list\n"); 51 "\tfseccomp restrict-namespaces file list\n"
52 printf("\tfseccomp restrict-namespaces.32 file list\n"); 52 "\tfseccomp restrict-namespaces.32 file list\n");
53} 53}
54 54
55int main(int argc, char **argv) { 55int main(int argc, char **argv) {