From f91526a6a9c428f41654c54f7c4a8fcff6213f60 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 30 Nov 2021 09:28:07 -0500 Subject: more profstats --- src/profstats/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/profstats/main.c') 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) { printf(" --private-dev - print profiles without private-dev\n"); printf(" --private-etc - print profiles without private-etc\n"); printf(" --private-tmp - print profiles without private-tmp\n"); - printf(" --print-blacklist - print all blacklists for a profile\n"); - printf(" --print-whitelist - print all whitelists for a profile\n"); + printf(" --print-blacklist - print all --blacklists for a profile\n"); + printf(" --print-whitelist - print all --private and --whitelist for a profile\n"); printf(" --seccomp - print profiles without seccomp\n"); printf(" --memory-deny-write-execute - profile without \"memory-deny-write-execute\"\n"); printf(" --whitelist-home - print profiles whitelisting home directory\n"); @@ -134,7 +134,8 @@ void process_file(const char *fname) { } else if (arg_print_whitelist) { if (strncmp(ptr, "whitelist", 9) == 0 || - strncmp(ptr, "nowhitelist", 11) == 0) + strncmp(ptr, "nowhitelist", 11) == 0 || + strncmp(ptr, "private", 7) == 0) printf("%s: %s\n", fname, ptr); } -- cgit v1.2.3-54-g00ecf