* [PATCH] selinux: fix typos in comments
@ 2022-06-08 22:36 Jonas Lindner
2022-06-10 19:52 ` Paul Moore
0 siblings, 1 reply; 2+ messages in thread
From: Jonas Lindner @ 2022-06-08 22:36 UTC (permalink / raw)
To: paul, stephen.smalley.work, eparis
Cc: trivial, Jonas Lindner, Alexei Starovoitov, Daniel Borkmann,
Andrii Nakryiko, Martin KaFai Lau, Song Liu, Yonghong Song,
John Fastabend, KP Singh, Christian Göttsche, selinux,
linux-kernel, netdev, bpf
selinux: fix typos in comments
Signed-off-by: Jonas Lindner <jolindner@gmx.de>
---
security/selinux/hooks.c | 4 ++--
security/selinux/include/audit.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index beceb89f68d9..d3f18d4a03c0 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -640,7 +640,7 @@ static int selinux_set_mnt_opts(struct super_block *sb,
* we need to skip the double mount verification.
*
* This does open a hole in which we will not notice if the first
- * mount using this sb set explict options and a second mount using
+ * mount using this sb set explicit options and a second mount using
* this sb does not set any security options. (The first options
* will be used for both mounts)
*/
@@ -6795,7 +6795,7 @@ static u32 bpf_map_fmode_to_av(fmode_t fmode)
}
/* This function will check the file pass through unix socket or binder to see
- * if it is a bpf related object. And apply correspinding checks on the bpf
+ * if it is a bpf related object. And apply corresponding checks on the bpf
* object based on the type. The bpf maps and programs, not like other files and
* socket, are using a shared anonymous inode inside the kernel as their inode.
* So checking that inode cannot identify if the process have privilege to
diff --git a/security/selinux/include/audit.h b/security/selinux/include/audit.h
index 1cba83d17f41..406bceb90c6c 100644
--- a/security/selinux/include/audit.h
+++ b/security/selinux/include/audit.h
@@ -18,7 +18,7 @@
/**
* selinux_audit_rule_init - alloc/init an selinux audit rule structure.
* @field: the field this rule refers to
- * @op: the operater the rule uses
+ * @op: the operator the rule uses
* @rulestr: the text "target" of the rule
* @rule: pointer to the new rule structure returned via this
*
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] selinux: fix typos in comments
2022-06-08 22:36 [PATCH] selinux: fix typos in comments Jonas Lindner
@ 2022-06-10 19:52 ` Paul Moore
0 siblings, 0 replies; 2+ messages in thread
From: Paul Moore @ 2022-06-10 19:52 UTC (permalink / raw)
To: Jonas Lindner
Cc: stephen.smalley.work, eparis, trivial, Alexei Starovoitov,
Daniel Borkmann, Andrii Nakryiko, Martin KaFai Lau, Song Liu,
Yonghong Song, John Fastabend, KP Singh, Christian Göttsche,
selinux, linux-kernel, netdev, bpf
On Wed, Jun 8, 2022 at 6:37 PM Jonas Lindner <jolindner@gmx.de> wrote:
>
> selinux: fix typos in comments
> Signed-off-by: Jonas Lindner <jolindner@gmx.de>
> ---
> security/selinux/hooks.c | 4 ++--
> security/selinux/include/audit.h | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
Merged into selinux/next (with the duplicated subject line removed), thanks!
--
paul-moore.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-10 19:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 22:36 [PATCH] selinux: fix typos in comments Jonas Lindner
2022-06-10 19:52 ` Paul Moore
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.