kernel/fork.c: fix typos
change 'ancestoral' to 'ancestral' change 'reuseable' to 'reusable' delete 'do' grammatically Link: https://lkml.kernel.org/r/20210317082031.11692-1-caoxiaofeng@yulong.com Signed-off-by: Xiaofeng Cao <caoxiaofeng@yulong.com> Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
a689539938
commit
a8ca6b1388
|
@ -1145,7 +1145,7 @@ void mmput_async(struct mm_struct *mm)
|
|||
* invocations: in mmput() nobody alive left, in execve task is single
|
||||
* threaded. sys_prctl(PR_SET_MM_MAP/EXE_FILE) also needs to set the
|
||||
* mm->exe_file, but does so without using set_mm_exe_file() in order
|
||||
* to do avoid the need for any locks.
|
||||
* to avoid the need for any locks.
|
||||
*/
|
||||
void set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file)
|
||||
{
|
||||
|
@ -1736,7 +1736,7 @@ static int pidfd_release(struct inode *inode, struct file *file)
|
|||
* /proc/<pid>/status where Pid and NSpid are always shown relative to
|
||||
* the pid namespace of the procfs instance. The difference becomes
|
||||
* obvious when sending around a pidfd between pid namespaces from a
|
||||
* different branch of the tree, i.e. where no ancestoral relation is
|
||||
* different branch of the tree, i.e. where no ancestral relation is
|
||||
* present between the pid namespaces:
|
||||
* - create two new pid namespaces ns1 and ns2 in the initial pid
|
||||
* namespace (also take care to create new mount namespaces in the
|
||||
|
@ -2728,8 +2728,8 @@ static bool clone3_args_valid(struct kernel_clone_args *kargs)
|
|||
return false;
|
||||
|
||||
/*
|
||||
* - make the CLONE_DETACHED bit reuseable for clone3
|
||||
* - make the CSIGNAL bits reuseable for clone3
|
||||
* - make the CLONE_DETACHED bit reusable for clone3
|
||||
* - make the CSIGNAL bits reusable for clone3
|
||||
*/
|
||||
if (kargs->flags & (CLONE_DETACHED | CSIGNAL))
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue