From c79aa14295f907ffac0cf5555515602b7393b8b6 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 9 Mar 2023 08:39:25 -0500 Subject: testing --- src/fseccomp/main.c | 54 ++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'src') 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; int arg_seccomp_error_action = SECCOMP_RET_ERRNO | EPERM; // error action: errno, log or kill static void usage(void) { - printf("Usage:\n"); - printf("\tfseccomp debug-syscalls\n"); - printf("\tfseccomp debug-syscalls32\n"); - printf("\tfseccomp debug-errnos\n"); - printf("\tfseccomp debug-protocols\n"); - printf("\tfseccomp protocol build list file\n"); - printf("\tfseccomp secondary 64 file\n"); - printf("\tfseccomp secondary 32 file\n"); - printf("\tfseccomp secondary block file\n"); - printf("\tfseccomp default file\n"); - printf("\tfseccomp default file allow-debuggers\n"); - printf("\tfseccomp default32 file\n"); - printf("\tfseccomp default32 file allow-debuggers\n"); - printf("\tfseccomp drop file1 file2 list\n"); - printf("\tfseccomp drop file1 file2 list allow-debuggers\n"); - printf("\tfseccomp drop32 file1 file2 list\n"); - printf("\tfseccomp drop32 file1 file2 list allow-debuggers\n"); - printf("\tfseccomp default drop file1 file2 list\n"); - printf("\tfseccomp default drop file1 file2 list allow-debuggers\n"); - printf("\tfseccomp default32 drop file1 file2 list\n"); - printf("\tfseccomp default32 drop file1 file2 list allow-debuggers\n"); - printf("\tfseccomp keep file1 file2 list\n"); - printf("\tfseccomp keep32 file1 file2 list\n"); - printf("\tfseccomp memory-deny-write-execute file\n"); - printf("\tfseccomp memory-deny-write-execute.32 file\n"); - printf("\tfseccomp restrict-namespaces file list\n"); - printf("\tfseccomp restrict-namespaces.32 file list\n"); + printf("Usage:\n" + "\tfseccomp debug-syscalls\n" + "\tfseccomp debug-syscalls32\n" + "\tfseccomp debug-errnos\n" + "\tfseccomp debug-protocols\n" + "\tfseccomp protocol build list file\n" + "\tfseccomp secondary 64 file\n" + "\tfseccomp secondary 32 file\n" + "\tfseccomp secondary block file\n" + "\tfseccomp default file\n" + "\tfseccomp default file allow-debuggers\n" + "\tfseccomp default32 file\n" + "\tfseccomp default32 file allow-debuggers\n" + "\tfseccomp drop file1 file2 list\n" + "\tfseccomp drop file1 file2 list allow-debuggers\n" + "\tfseccomp drop32 file1 file2 list\n" + "\tfseccomp drop32 file1 file2 list allow-debuggers\n" + "\tfseccomp default drop file1 file2 list\n" + "\tfseccomp default drop file1 file2 list allow-debuggers\n" + "\tfseccomp default32 drop file1 file2 list\n" + "\tfseccomp default32 drop file1 file2 list allow-debuggers\n" + "\tfseccomp keep file1 file2 list\n" + "\tfseccomp keep32 file1 file2 list\n" + "\tfseccomp memory-deny-write-execute file\n" + "\tfseccomp memory-deny-write-execute.32 file\n" + "\tfseccomp restrict-namespaces file list\n" + "\tfseccomp restrict-namespaces.32 file list\n"); } int main(int argc, char **argv) { -- cgit v1.2.3-70-g09d2