Skip to contentSkip to conversation

libsepol/utils: improve wording

PATCH In review Christian Göttsche 2 participants 3 messages Jun 29, 2022 – Jul 6, 2022 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 libsepol/utils/sepol_check_access.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libsepol/utils/sepol_check_access.c +1 -1
index bd2ea896..5d2bf679 100644
@@ -109,7 +109,7 @@ int main(int argc, char *argv[])
 	if (reason & SEPOL_COMPUTEAV_RBAC) {
 		if (i > 0)
 			printf(", ");
-		printf("transition-constraint");
+		printf("role-transition");
 		i++;
 	}
 	if (reason & SEPOL_COMPUTEAV_BOUNDS) {
Signature · 1 line
2.36.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Christian Göttsche

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.

Quoted 20 lines
---
 libsepol/utils/sepol_check_access.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libsepol/utils/sepol_check_access.c +1 -2
index bd2ea896..5d2bf679 100644
@@ -109,7 +109,7 @@ int main(int argc, char *argv[])
        if (reason & SEPOL_COMPUTEAV_RBAC) {
                if (i > 0)
                        printf(", ");
-               printf("transition-constraint");
+               printf("role-transition");
                i++;
        }
        if (reason & SEPOL_COMPUTEAV_BOUNDS) {
--

2.36.1

#2 lore raw
Quoted 7 lines · James Carter
Quoted 4 lines · Christian Göttsche

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

Quoted 8 lines
Quoted 5 lines
    allow source_role target_role;

statement.

Merged.
Thanks,
Jim

Quoted 20 lines
Quoted 20 lines
---
 libsepol/utils/sepol_check_access.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libsepol/utils/sepol_check_access.c +1 -2
index bd2ea896..5d2bf679 100644
@@ -109,7 +109,7 @@ int main(int argc, char *argv[])
        if (reason & SEPOL_COMPUTEAV_RBAC) {
                if (i > 0)
                        printf(", ");
-               printf("transition-constraint");
+               printf("role-transition");
                i++;
        }
        if (reason & SEPOL_COMPUTEAV_BOUNDS) {
--

2.36.1