Skip to content

Commit 5afe69c

Browse files
CaoXiaofengGHtorvalds
authored andcommitted
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/[email protected] Signed-off-by: Xiaofeng Cao <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent f0fffaf commit 5afe69c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

kernel/sys.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,7 @@ int do_prlimit(struct task_struct *tsk, unsigned int resource,
15901590

15911591
/*
15921592
* 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
15941594
* ignores the rlimit.
15951595
*/
15961596
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
20292029
}
20302030

20312031
/*
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
20332033
* read to exclude races with sys_brk.
20342034
*/
20352035
mmap_read_lock(mm);
@@ -2041,7 +2041,7 @@ static int prctl_set_mm_map(int opt, const void __user *addr, unsigned long data
20412041
* output in procfs mostly, except
20422042
*
20432043
* - @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
20452045
* here cause kernel to swear at userspace program but won't lead
20462046
* to any problem in kernel itself
20472047
*/
@@ -2143,7 +2143,7 @@ static int prctl_set_mm(int opt, unsigned long addr,
21432143
error = -EINVAL;
21442144

21452145
/*
2146-
* arg_lock protects concurent updates of arg boundaries, we need
2146+
* arg_lock protects concurrent updates of arg boundaries, we need
21472147
* mmap_lock for a) concurrent sys_brk, b) finding VMA for addr
21482148
* validation.
21492149
*/
@@ -2210,7 +2210,7 @@ static int prctl_set_mm(int opt, unsigned long addr,
22102210
* If command line arguments and environment
22112211
* are placed somewhere else on stack, we can
22122212
* 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
22142214
* for environment.
22152215
*/
22162216
case PR_SET_MM_START_STACK:
@@ -2258,8 +2258,8 @@ static int prctl_get_tid_address(struct task_struct *me, int __user * __user *ti
22582258
static int propagate_has_child_subreaper(struct task_struct *p, void *data)
22592259
{
22602260
/*
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
22632263
* inherit it on fork, skip them.
22642264
*
22652265
* If we've found child_reaper - skip descendants in

0 commit comments

Comments
 (0)