]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
security: apparmor: fix two spelling mistakes
authorQingshuang Fu <fuqingshuang@kylinos.cn>
Tue, 26 May 2026 01:38:26 +0000 (09:38 +0800)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 14 Jun 2026 03:20:13 +0000 (20:20 -0700)
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>
security/apparmor/domain.c
security/apparmor/lsm.c

index 4172dedaba2227a9a99574b8b1b8cc46fab009c5..d6958eb00e3045821403084fb982e637ad3b92b4 100644 (file)
@@ -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;
index b7c19805a216c45ffadd97117d4e74bf67a89eab..7457067e8192276b424448d1faf3feadd650d2e9 100644 (file)
@@ -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)