Commit ceb5faef authored by Tanya Agarwal's avatar Tanya Agarwal Committed by Mimi Zohar
Browse files

integrity: fix typos and spelling errors



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

Signed-off-by: default avatarTanya Agarwal <tanyaagarwal25699@gmail.com>
Reviewed-by: default avatarMimi Zohar <zohar@linux.ibm.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
parent 2014c95a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ static void hmac_add_misc(struct shash_desc *desc, struct inode *inode,
}

/*
 * Dump large security xattr values as a continuous ascii hexademical string.
 * Dump large security xattr values as a continuous ascii hexadecimal string.
 * (pr_debug is limited to 64 bytes.)
 */
static void dump_security_xattr_l(const char *prefix, const void *src,
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ static int is_unsupported_hmac_fs(struct dentry *dentry)
 * and compare it against the stored security.evm xattr.
 *
 * For performance:
 * - use the previoulsy retrieved xattr value and length to calculate the
 * - use the previously retrieved xattr value and length to calculate the
 *   HMAC.)
 * - cache the verification result in the iint, when available.
 *
+3 −3
Original line number Diff line number Diff line
@@ -1011,9 +1011,9 @@ int process_buffer_measurement(struct mnt_idmap *idmap,
	}

	/*
	 * Both LSM hooks and auxilary based buffer measurements are
	 * Both LSM hooks and auxiliary based buffer measurements are
	 * based on policy. To avoid code duplication, differentiate
	 * between the LSM hooks and auxilary buffer measurements,
	 * between the LSM hooks and auxiliary buffer measurements,
	 * retrieving the policy rule information only for the LSM hook
	 * buffer measurements.
	 */