On Mon, Dec 30, 2024 at 9:05 AM Christian Göttsche <cgoettsche@xxxxxxxxxxxxx> wrote: > > From: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> > > Found by codespell(1) and typos[1]. > > [1]: https://github.com/crate-ci/typos > > Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> For these two patches: Acked-by: James Carter <jwcart2@xxxxxxxxx> > --- > libsepol/src/kernel_to_cil.c | 2 +- > libsepol/src/module_to_cil.c | 2 +- > libsepol/src/policydb.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libsepol/src/kernel_to_cil.c b/libsepol/src/kernel_to_cil.c > index 2d563e7d..ddca2b62 100644 > --- a/libsepol/src/kernel_to_cil.c > +++ b/libsepol/src/kernel_to_cil.c > @@ -1802,7 +1802,7 @@ static char *avtab_node_to_str(struct policydb *pdb, avtab_key_t *key, avtab_dat > } else if (datum->xperms->specified == AVTAB_XPERMS_NLMSG) { > xperm = (char *) "nlmsg"; > } else { > - ERR(NULL, "Unknown extended permssion"); > + ERR(NULL, "Unknown extended permission"); > goto exit; > } > rule = create_str("(%s %s %s (%s %s (%s)))", > diff --git a/libsepol/src/module_to_cil.c b/libsepol/src/module_to_cil.c > index 0ede0c9b..ae9a2b5d 100644 > --- a/libsepol/src/module_to_cil.c > +++ b/libsepol/src/module_to_cil.c > @@ -709,7 +709,7 @@ static int avrulex_to_cil(int indent, struct policydb *pdb, uint32_t type, const > } else if (xperms->specified == AVTAB_XPERMS_NLMSG) { > xperm = "nlmsg"; > } else { > - ERR(NULL, "Unkown avrule xperms->specified: %i", xperms->specified); > + ERR(NULL, "Unknown avrule xperms->specified: %i", xperms->specified); > rc = -1; > goto exit; > } > diff --git a/libsepol/src/policydb.c b/libsepol/src/policydb.c > index 0747e789..8443380b 100644 > --- a/libsepol/src/policydb.c > +++ b/libsepol/src/policydb.c > @@ -1662,7 +1662,7 @@ int policydb_load_isids(policydb_t * p, sidtab_t * s) > * > * arguments: > * policydb_t *pol module policy to modify > - * uint32_t sym the symbole table for insertion (SYM_*) > + * uint32_t sym the symbol table for insertion (SYM_*) > * hashtab_key_t key the key for the symbol - not cloned > * hashtab_datum_t data the data for the symbol - not cloned > * scope scope of this symbol, either SCOPE_REQ or SCOPE_DECL > -- > 2.45.2 > >