aboutsummaryrefslogtreecommitdiffstats
path: root/src/profstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2021-12-01 01:36:33 +0000
committerLibravatar GitHub <noreply@github.com>2021-12-01 01:36:33 +0000
commitebe4c93f27d260867a8ac64122cdd12e3305b0e6 (patch)
treefbd9fc9f1898885f0fd0d5944097668c419b9052 /src/profstats
parentMerge pull request #4727 from glitsj16/electron (diff)
downloadfirejail-ebe4c93f27d260867a8ac64122cdd12e3305b0e6.tar.gz
firejail-ebe4c93f27d260867a8ac64122cdd12e3305b0e6.tar.zst
firejail-ebe4c93f27d260867a8ac64122cdd12e3305b0e6.zip
profstats cleanup
Diffstat (limited to 'src/profstats')
-rw-r--r--src/profstats/main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/profstats/main.c b/src/profstats/main.c
index 4e642f634..9ddbb2633 100644
--- a/src/profstats/main.c
+++ b/src/profstats/main.c
@@ -10,7 +10,7 @@
10 * 10 *
11 * This program is distributed in the hope that it will be useful, 11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details. 14 * GNU General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU General Public License along 16 * You should have received a copy of the GNU General Public License along
@@ -73,13 +73,13 @@ static int arg_print_whitelist = 0;
73static char *profile = NULL; 73static char *profile = NULL;
74 74
75static void usage(void) { 75static void usage(void) {
76 printf("proftool - print profile statistics\n"); 76 printf("profstats - print profile statistics\n");
77 printf("Usage: proftool [options] file[s]\n"); 77 printf("Usage: profstats [options] file[s]\n");
78 printf("Options:\n"); 78 printf("Options:\n");
79 printf(" --apparmor - print profiles without apparmor\n"); 79 printf(" --apparmor - print profiles without apparmor\n");
80 printf(" --caps - print profiles without caps\n"); 80 printf(" --caps - print profiles without caps\n");
81 printf(" --dbus-system-none - profiles without \"dbus-system none\"\n"); 81 printf(" --dbus-system-none - print profiles without \"dbus-system none\"\n");
82 printf(" --dbus-user-none - profiles without \"dbus-user none\"\n"); 82 printf(" --dbus-user-none - print profiles without \"dbus-user none\"\n");
83 printf(" --ssh - print profiles without \"include disable-common.inc\"\n"); 83 printf(" --ssh - print profiles without \"include disable-common.inc\"\n");
84 printf(" --noexec - print profiles without \"include disable-exec.inc\"\n"); 84 printf(" --noexec - print profiles without \"include disable-exec.inc\"\n");
85 printf(" --noroot - print profiles without \"noroot\"\n"); 85 printf(" --noroot - print profiles without \"noroot\"\n");
@@ -87,10 +87,10 @@ static void usage(void) {
87 printf(" --private-dev - print profiles without private-dev\n"); 87 printf(" --private-dev - print profiles without private-dev\n");
88 printf(" --private-etc - print profiles without private-etc\n"); 88 printf(" --private-etc - print profiles without private-etc\n");
89 printf(" --private-tmp - print profiles without private-tmp\n"); 89 printf(" --private-tmp - print profiles without private-tmp\n");
90 printf(" --print-blacklist - print all --blacklists for a profile\n"); 90 printf(" --print-blacklist - print all --blacklist for a profile\n");
91 printf(" --print-whitelist - print all --private and --whitelist for a profile\n"); 91 printf(" --print-whitelist - print all --private and --whitelist for a profile\n");
92 printf(" --seccomp - print profiles without seccomp\n"); 92 printf(" --seccomp - print profiles without seccomp\n");
93 printf(" --memory-deny-write-execute - profile without \"memory-deny-write-execute\"\n"); 93 printf(" --memory-deny-write-execute - print profiles without \"memory-deny-write-execute\"\n");
94 printf(" --whitelist-home - print profiles whitelisting home directory\n"); 94 printf(" --whitelist-home - print profiles whitelisting home directory\n");
95 printf(" --whitelist-var - print profiles without \"include whitelist-var-common.inc\"\n"); 95 printf(" --whitelist-var - print profiles without \"include whitelist-var-common.inc\"\n");
96 printf(" --whitelist-runuser - print profiles without \"include whitelist-runuser-common.inc\" or \"blacklist ${RUNUSER}\"\n"); 96 printf(" --whitelist-runuser - print profiles without \"include whitelist-runuser-common.inc\" or \"blacklist ${RUNUSER}\"\n");