summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorQingshuang Fu <fuqingshuang@kylinos.cn>2026-05-26 09:38:26 +0800
committerJohn Johansen <john.johansen@canonical.com>2026-06-13 20:20:13 -0700
commit3e4ca50ee4d88642afa38815775e1ffa90e8dd0b (patch)
tree0ecb78f262de76a2d829bac443fa2845076cf333 /security
parent6f060496d03e4dc560a40f73770bd08335cb7a27 (diff)
downloadlinux-2.6-3e4ca50ee4d88642afa38815775e1ffa90e8dd0b.tar.gz
linux-2.6-3e4ca50ee4d88642afa38815775e1ffa90e8dd0b.zip
security: apparmor: fix two spelling mistakes
Fix two spelling errors in comment: - interated → interacted - dont → don't Signed-off-by: Qingshuang Fu <fuqingshuang@kylinos.cn> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/domain.c2
-rw-r--r--security/apparmor/lsm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c
index 4172dedaba22..d6958eb00e30 100644
--- a/security/apparmor/domain.c
+++ b/security/apparmor/domain.c
@@ -136,7 +136,7 @@ static int label_compound_match(struct aa_profile *profile,
struct label_it i;
struct path_cond cond = { };
- /* find first subcomponent that is in view and going to be interated with */
+ /* find first subcomponent that is in view and going to be interacted with */
label_for_each(i, label, tp) {
if (!aa_ns_visible(profile->ns, tp->ns, inview))
continue;
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
index b7c19805a216..7457067e8192 100644
--- a/security/apparmor/lsm.c
+++ b/security/apparmor/lsm.c
@@ -1493,7 +1493,7 @@ static int apparmor_socket_shutdown(struct socket *sock, int how)
*
* Note: can not sleep may be called with locks held
*
- * dont want protocol specific in __skb_recv_datagram()
+ * don't want protocol specific in __skb_recv_datagram()
* to deny an incoming connection socket_sock_rcv_skb()
*/
static int apparmor_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb)