From: Qingshuang Fu <[email protected]> Fix two spelling errors in comment: - interated → interacted - dont → don't
Signed-off-by: Qingshuang Fu <[email protected]> Changes since v1: - Split original single patch into two standalone patches, separate AppArmor and Smack changes for different maintainer trees. --- security/apparmor/domain.c | 2 +- security/apparmor/lsm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c index f02bf770f638..7e097c40720a 100644 --- a/security/apparmor/domain.c +++ b/security/apparmor/domain.c @@ -135,7 +135,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 3491e9f60194..51a388cfea11 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) -- 2.25.1
