]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
seccomp: fix up grammar in comment
authorTycho Andersen <tycho@tycho.ws>
Wed, 6 Mar 2019 20:14:12 +0000 (13:14 -0700)
committerJames Morris <jamorris@linux.microsoft.com>
Tue, 23 Apr 2019 23:21:12 +0000 (16:21 -0700)
This sentence is kind of a train wreck anyway, but at least dropping the
extra pronoun helps somewhat.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <jamorris@linux.microsoft.com>
kernel/seccomp.c

index 54a0347ca8128f09cdbbcc83e2e8f8eea633a7ab..503d02896c5d1a7db837f9cfe72d929a102393a1 100644 (file)
@@ -331,7 +331,7 @@ static int is_ancestor(struct seccomp_filter *parent,
  * Expects sighand and cred_guard_mutex locks to be held.
  *
  * Returns 0 on success, -ve on error, or the pid of a thread which was
- * either not in the correct seccomp mode or it did not have an ancestral
+ * either not in the correct seccomp mode or did not have an ancestral
  * seccomp filter.
  */
 static inline pid_t seccomp_can_sync_threads(void)