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/user_namespace.c: fix typos

change 'verifing' to 'verifying'
change 'certaint' to 'certain'
change 'approprpiate' to 'appropriate'

Link: https://lkml.kernel.org/r/20210317100129.12440-1-caoxiaofeng@yulong.com
Signed-off-by: Xiaofeng Cao <caoxiaofeng@yulong.com>
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
a12f4f85 48207f7d

+3 -3
+3 -3
kernel/user_namespace.c
··· 85 85 /* 86 86 * Verify that we can not violate the policy of which files 87 87 * may be accessed that is specified by the root directory, 88 - * by verifing that the root directory is at the root of the 88 + * by verifying that the root directory is at the root of the 89 89 * mount namespace which allows all files to be accessed. 90 90 */ 91 91 ret = -EPERM; ··· 1014 1014 goto out; 1015 1015 ret = -EINVAL; 1016 1016 } 1017 - /* Be very certaint the new map actually exists */ 1017 + /* Be very certain the new map actually exists */ 1018 1018 if (new_map.nr_extents == 0) 1019 1019 goto out; 1020 1020 ··· 1169 1169 1170 1170 /* Allow the specified ids if we have the appropriate capability 1171 1171 * (CAP_SETUID or CAP_SETGID) over the parent user namespace. 1172 - * And the opener of the id file also had the approprpiate capability. 1172 + * And the opener of the id file also has the appropriate capability. 1173 1173 */ 1174 1174 if (ns_capable(ns->parent, cap_setid) && 1175 1175 file_ns_capable(file, ns->parent, cap_setid))