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.

apparmor: fix typos and spelling errors

Fix typos and spelling errors in apparmor module comments that were
identified using the codespell tool.
No functional changes - documentation only.

Signed-off-by: Tanya Agarwal <tanyaagarwal25699@gmail.com>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Ryan Lee <ryan.lee@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>

authored by

Tanya Agarwal and committed by
John Johansen
aabbe6f9 04fe4310

+9 -9
+3 -3
security/apparmor/apparmorfs.c
··· 43 43 * The interface is split into two main components based on their function 44 44 * a securityfs component: 45 45 * used for static files that are always available, and which allows 46 - * userspace to specificy the location of the security filesystem. 46 + * userspace to specify the location of the security filesystem. 47 47 * 48 48 * fns and data are prefixed with 49 49 * aa_sfs_ ··· 204 204 /** 205 205 * __aafs_setup_d_inode - basic inode setup for apparmorfs 206 206 * @dir: parent directory for the dentry 207 - * @dentry: dentry we are seting the inode up for 207 + * @dentry: dentry we are setting the inode up for 208 208 * @mode: permissions the file should have 209 209 * @data: data to store on inode.i_private, available in open() 210 210 * @link: if symlink, symlink target string ··· 2253 2253 /** 2254 2254 * p_stop - stop depth first traversal 2255 2255 * @f: seq_file we are filling 2256 - * @p: the last profile writen 2256 + * @p: the last profile written 2257 2257 * 2258 2258 * Release all locking done by p_start/p_next on namespace tree 2259 2259 */
+2 -2
security/apparmor/domain.c
··· 762 762 /* change_profile on exec already granted */ 763 763 /* 764 764 * NOTE: Domain transitions from unconfined are allowed 765 - * even when no_new_privs is set because this aways results 765 + * even when no_new_privs is set because this always results 766 766 * in a further reduction of permissions. 767 767 */ 768 768 return 0; ··· 933 933 * 934 934 * NOTE: Domain transitions from unconfined and to stacked 935 935 * subsets are allowed even when no_new_privs is set because this 936 - * aways results in a further reduction of permissions. 936 + * always results in a further reduction of permissions. 937 937 */ 938 938 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && 939 939 !unconfined(label) &&
+1 -1
security/apparmor/label.c
··· 1461 1461 1462 1462 /* 1463 1463 * cached label name is present and visible 1464 - * @label->hname only exists if label is namespace hierachical 1464 + * @label->hname only exists if label is namespace hierarchical 1465 1465 */ 1466 1466 static inline bool use_label_hname(struct aa_ns *ns, struct aa_label *label, 1467 1467 int flags)
+1 -1
security/apparmor/lsm.c
··· 2173 2173 * two should be enough, with more CPUs it is possible that more 2174 2174 * buffers will be used simultaneously. The preallocated pool may grow. 2175 2175 * This preallocation has also the side-effect that AppArmor will be 2176 - * disabled early at boot if aa_g_path_max is extremly high. 2176 + * disabled early at boot if aa_g_path_max is extremely high. 2177 2177 */ 2178 2178 if (num_online_cpus() > 1) 2179 2179 num = 4 + RESERVE_COUNT;
+2 -2
security/apparmor/policy.c
··· 488 488 } 489 489 490 490 /** 491 - * __create_missing_ancestors - create place holders for missing ancestores 491 + * __create_missing_ancestors - create place holders for missing ancestors 492 492 * @ns: namespace to lookup profile in (NOT NULL) 493 493 * @hname: hierarchical profile name to find parent of (NOT NULL) 494 494 * @gfp: type of allocation. ··· 1095 1095 goto out; 1096 1096 1097 1097 /* ensure that profiles are all for the same ns 1098 - * TODO: update locking to remove this constaint. All profiles in 1098 + * TODO: update locking to remove this constraint. All profiles in 1099 1099 * the load set must succeed as a set or the load will 1100 1100 * fail. Sort ent list and take ns locks in hierarchy order 1101 1101 */