libsepol/utils: improve wording

A request is denied with SEPOL_COMPUTEAV_RBAC if the source role is not
allowed to transition to the target role, granted via a

    allow source_role target_role;

statement.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
This commit is contained in:
Christian Göttsche 2022-06-29 13:05:12 +02:00 committed by James Carter
parent 301cd64636
commit 36bf1be1ca
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ int main(int argc, char *argv[])
if (reason & SEPOL_COMPUTEAV_RBAC) { if (reason & SEPOL_COMPUTEAV_RBAC) {
if (i > 0) if (i > 0)
printf(", "); printf(", ");
printf("transition-constraint"); printf("role-transition");
i++; i++;
} }
if (reason & SEPOL_COMPUTEAV_BOUNDS) { if (reason & SEPOL_COMPUTEAV_BOUNDS) {