Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.com
Signed-off-by: Xiaofeng Cao <caoxiaofeng@yulong.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Xiaofeng Cao and committed by
Linus Torvalds
5afe69c2 f0fffaff

+7 -7
+7 -7
kernel/sys.c
··· 1590 1590 1591 1591 /* 1592 1592 * RLIMIT_CPU handling. Arm the posix CPU timer if the limit is not 1593 - * infite. In case of RLIM_INFINITY the posix CPU timer code 1593 + * infinite. In case of RLIM_INFINITY the posix CPU timer code 1594 1594 * ignores the rlimit. 1595 1595 */ 1596 1596 if (!retval && new_rlim && resource == RLIMIT_CPU && ··· 2029 2029 } 2030 2030 2031 2031 /* 2032 - * arg_lock protects concurent updates but we still need mmap_lock for 2032 + * arg_lock protects concurrent updates but we still need mmap_lock for 2033 2033 * read to exclude races with sys_brk. 2034 2034 */ 2035 2035 mmap_read_lock(mm); ··· 2041 2041 * output in procfs mostly, except 2042 2042 * 2043 2043 * - @start_brk/@brk which are used in do_brk_flags but kernel lookups 2044 - * for VMAs when updating these memvers so anything wrong written 2044 + * for VMAs when updating these members so anything wrong written 2045 2045 * here cause kernel to swear at userspace program but won't lead 2046 2046 * to any problem in kernel itself 2047 2047 */ ··· 2143 2143 error = -EINVAL; 2144 2144 2145 2145 /* 2146 - * arg_lock protects concurent updates of arg boundaries, we need 2146 + * arg_lock protects concurrent updates of arg boundaries, we need 2147 2147 * mmap_lock for a) concurrent sys_brk, b) finding VMA for addr 2148 2148 * validation. 2149 2149 */ ··· 2210 2210 * If command line arguments and environment 2211 2211 * are placed somewhere else on stack, we can 2212 2212 * set them up here, ARG_START/END to setup 2213 - * command line argumets and ENV_START/END 2213 + * command line arguments and ENV_START/END 2214 2214 * for environment. 2215 2215 */ 2216 2216 case PR_SET_MM_START_STACK: ··· 2258 2258 static int propagate_has_child_subreaper(struct task_struct *p, void *data) 2259 2259 { 2260 2260 /* 2261 - * If task has has_child_subreaper - all its decendants 2262 - * already have these flag too and new decendants will 2261 + * If task has has_child_subreaper - all its descendants 2262 + * already have these flag too and new descendants will 2263 2263 * inherit it on fork, skip them. 2264 2264 * 2265 2265 * If we've found child_reaper - skip descendants in