From 286df12fd98e0715761e2294ef93b6f208d2436a Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Mon, 20 Jun 2016 13:50:41 +0200 Subject: [PATCH] checkpolicy: Fix typos in test/dispol Reported-By: Milos Malik Signed-off-by: Petr Lautrbach --- checkpolicy/test/dispol.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/checkpolicy/test/dispol.c b/checkpolicy/test/dispol.c index 86f56882..a78ce818 100644 --- a/checkpolicy/test/dispol.c +++ b/checkpolicy/test/dispol.c @@ -252,11 +252,11 @@ int display_cond_expressions(policydb_t * p, FILE * fp) int display_handle_unknown(policydb_t * p, FILE * out_fp) { if (p->handle_unknown == ALLOW_UNKNOWN) - fprintf(out_fp, "Allow unknown classes and permisions\n"); + fprintf(out_fp, "Allow unknown classes and permissions\n"); else if (p->handle_unknown == DENY_UNKNOWN) - fprintf(out_fp, "Deny unknown classes and permisions\n"); + fprintf(out_fp, "Deny unknown classes and permissions\n"); else if (p->handle_unknown == REJECT_UNKNOWN) - fprintf(out_fp, "Reject unknown classes and permisions\n"); + fprintf(out_fp, "Reject unknown classes and permissions\n"); return 0; } @@ -349,7 +349,7 @@ int menu(void) printf("\nSelect a command:\n"); printf("1) display unconditional AVTAB\n"); printf("2) display conditional AVTAB (entirely)\n"); - printf("3) display conditional AVTAG (only ENABLED rules)\n"); + printf("3) display conditional AVTAB (only ENABLED rules)\n"); printf("4) display conditional AVTAB (only DISABLED rules)\n"); printf("5) display conditional bools\n"); printf("6) display conditional expressions\n");