diff options
-rw-r--r-- | src/profstats/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/profstats/main.c b/src/profstats/main.c index 72c0710fe..4e642f634 100644 --- a/src/profstats/main.c +++ b/src/profstats/main.c | |||
@@ -87,8 +87,8 @@ 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 --blacklists for a profile\n"); |
91 | printf(" --print-whitelist - print all whitelists 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 - profile 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"); |
@@ -134,7 +134,8 @@ void process_file(const char *fname) { | |||
134 | } | 134 | } |
135 | else if (arg_print_whitelist) { | 135 | else if (arg_print_whitelist) { |
136 | if (strncmp(ptr, "whitelist", 9) == 0 || | 136 | if (strncmp(ptr, "whitelist", 9) == 0 || |
137 | strncmp(ptr, "nowhitelist", 11) == 0) | 137 | strncmp(ptr, "nowhitelist", 11) == 0 || |
138 | strncmp(ptr, "private", 7) == 0) | ||
138 | printf("%s: %s\n", fname, ptr); | 139 | printf("%s: %s\n", fname, ptr); |
139 | } | 140 | } |
140 | 141 | ||