Skip to contentSkip to conversation

libsepol: fix typo

PATCH Applied Topi Miettinen 3 participants 3 messages Sep 10, 2021 – Sep 13, 2021 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libsepol: fix typo

---
 libsepol/src/module_to_cil.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libsepol/src/module_to_cil.c +1 -1
index 9c7e3d3a..3c8ba10a 100644
@@ -573,7 +573,7 @@ static int avrule_to_cil(int indent, struct policydb *pdb, uint32_t type, const
 		rule = "auditallow";
 		break;
 	case AVRULE_AUDITDENY:
-		rule = "auditdenty";
+		rule = "auditdeny";
 		break;
 	case AVRULE_DONTAUDIT:
 		rule = "dontaudit";
Signature · 1 line
2.30.2
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Topi Miettinen
Quoted 20 lines
---
 libsepol/src/module_to_cil.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libsepol/src/module_to_cil.c +1 -2
index 9c7e3d3a..3c8ba10a 100644
@@ -573,7 +573,7 @@ static int avrule_to_cil(int indent, struct policydb *pdb, uint32_t type, const
                rule = "auditallow";
                break;
        case AVRULE_AUDITDENY:
-               rule = "auditdenty";
+               rule = "auditdeny";
                break;
        case AVRULE_DONTAUDIT:
                rule = "dontaudit";
--

2.30.2

#2 lore raw
Quoted 5 lines · James Carter
Quoted 2 lines · Topi Miettinen

Merged, thanks!

Quoted 20 lines
Quoted 20 lines
---
 libsepol/src/module_to_cil.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libsepol/src/module_to_cil.c +1 -2
index 9c7e3d3a..3c8ba10a 100644
@@ -573,7 +573,7 @@ static int avrule_to_cil(int indent, struct policydb *pdb, uint32_t type, const
                rule = "auditallow";
                break;
        case AVRULE_AUDITDENY:
-               rule = "auditdenty";
+               rule = "auditdeny";
                break;
        case AVRULE_DONTAUDIT:
                rule = "dontaudit";
--

2.30.2