All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Lautrbach <lautrbach@redhat.com>
To: James Carter <jwcart2@gmail.com>,
	cgzones@googlemail.com, selinux@vger.kernel.org
Subject: Re: [PATCH 1/2] libsepol: fix typos
Date: Thu, 16 Jan 2025 17:09:31 +0100	[thread overview]
Message-ID: <877c6uwxj8.fsf@redhat.com> (raw)
In-Reply-To: <CAP+JOzQkEU_TGtL4cYzZAL0tUARjyL1y1jn1MXs6WdOYRwARpw@mail.gmail.com>

James Carter <jwcart2@gmail.com> writes:

> On Mon, Dec 30, 2024 at 9:05 AM Christian Göttsche
> <cgoettsche@seltendoof.de> wrote:
>>
>> From: Christian Göttsche <cgzones@googlemail.com>
>>
>> Found by codespell(1) and typos[1].
>>
>> [1]: https://github.com/crate-ci/typos
>>
>> Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
>
> For these two patches:
> Acked-by: James Carter <jwcart2@gmail.com>

Merged. Thanks!

>> ---
>>  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
>>
>>


      reply	other threads:[~2025-01-16 16:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-30 14:05 [PATCH 2/2] python: fix typos Christian Göttsche
2024-12-30 14:05 ` [PATCH 1/2] libsepol: " Christian Göttsche
2025-01-08 18:24   ` James Carter
2025-01-16 16:09     ` Petr Lautrbach [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877c6uwxj8.fsf@redhat.com \
    --to=lautrbach@redhat.com \
    --cc=cgzones@googlemail.com \
    --cc=jwcart2@gmail.com \
    --cc=selinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.