Commit 5afe69c2 authored by Xiaofeng Cao's avatar Xiaofeng Cao Committed by Linus Torvalds

kernel/sys.c: fix typo

change 'infite'     to 'infinite'
change 'concurent'  to 'concurrent'
change 'memvers'    to 'members'
change 'decendants' to 'descendants'
change 'argumets'   to 'arguments'

Link: https://lkml.kernel.org/r/20210316112904.10661-1-cxfcosmos@gmail.comSigned-off-by: default avatarXiaofeng Cao <caoxiaofeng@yulong.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f0fffaff
...@@ -1590,7 +1590,7 @@ int do_prlimit(struct task_struct *tsk, unsigned int resource, ...@@ -1590,7 +1590,7 @@ int do_prlimit(struct task_struct *tsk, unsigned int resource,
/* /*
* RLIMIT_CPU handling. Arm the posix CPU timer if the limit is not * RLIMIT_CPU handling. Arm the posix CPU timer if the limit is not
* infite. In case of RLIM_INFINITY the posix CPU timer code * infinite. In case of RLIM_INFINITY the posix CPU timer code
* ignores the rlimit. * ignores the rlimit.
*/ */
if (!retval && new_rlim && resource == RLIMIT_CPU && if (!retval && new_rlim && resource == RLIMIT_CPU &&
...@@ -2029,7 +2029,7 @@ static int prctl_set_mm_map(int opt, const void __user *addr, unsigned long data ...@@ -2029,7 +2029,7 @@ static int prctl_set_mm_map(int opt, const void __user *addr, unsigned long data
} }
/* /*
* arg_lock protects concurent updates but we still need mmap_lock for * arg_lock protects concurrent updates but we still need mmap_lock for
* read to exclude races with sys_brk. * read to exclude races with sys_brk.
*/ */
mmap_read_lock(mm); mmap_read_lock(mm);
...@@ -2041,7 +2041,7 @@ static int prctl_set_mm_map(int opt, const void __user *addr, unsigned long data ...@@ -2041,7 +2041,7 @@ static int prctl_set_mm_map(int opt, const void __user *addr, unsigned long data
* output in procfs mostly, except * output in procfs mostly, except
* *
* - @start_brk/@brk which are used in do_brk_flags but kernel lookups * - @start_brk/@brk which are used in do_brk_flags but kernel lookups
* for VMAs when updating these memvers so anything wrong written * for VMAs when updating these members so anything wrong written
* here cause kernel to swear at userspace program but won't lead * here cause kernel to swear at userspace program but won't lead
* to any problem in kernel itself * to any problem in kernel itself
*/ */
...@@ -2143,7 +2143,7 @@ static int prctl_set_mm(int opt, unsigned long addr, ...@@ -2143,7 +2143,7 @@ static int prctl_set_mm(int opt, unsigned long addr,
error = -EINVAL; error = -EINVAL;
/* /*
* arg_lock protects concurent updates of arg boundaries, we need * arg_lock protects concurrent updates of arg boundaries, we need
* mmap_lock for a) concurrent sys_brk, b) finding VMA for addr * mmap_lock for a) concurrent sys_brk, b) finding VMA for addr
* validation. * validation.
*/ */
...@@ -2210,7 +2210,7 @@ static int prctl_set_mm(int opt, unsigned long addr, ...@@ -2210,7 +2210,7 @@ static int prctl_set_mm(int opt, unsigned long addr,
* If command line arguments and environment * If command line arguments and environment
* are placed somewhere else on stack, we can * are placed somewhere else on stack, we can
* set them up here, ARG_START/END to setup * set them up here, ARG_START/END to setup
* command line argumets and ENV_START/END * command line arguments and ENV_START/END
* for environment. * for environment.
*/ */
case PR_SET_MM_START_STACK: case PR_SET_MM_START_STACK:
...@@ -2258,8 +2258,8 @@ static int prctl_get_tid_address(struct task_struct *me, int __user * __user *ti ...@@ -2258,8 +2258,8 @@ static int prctl_get_tid_address(struct task_struct *me, int __user * __user *ti
static int propagate_has_child_subreaper(struct task_struct *p, void *data) static int propagate_has_child_subreaper(struct task_struct *p, void *data)
{ {
/* /*
* If task has has_child_subreaper - all its decendants * If task has has_child_subreaper - all its descendants
* already have these flag too and new decendants will * already have these flag too and new descendants will
* inherit it on fork, skip them. * inherit it on fork, skip them.
* *
* If we've found child_reaper - skip descendants in * If we've found child_reaper - skip descendants in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment