Commit 3d9047a0 authored by Christian Göttsche's avatar Christian Göttsche Committed by Paul Moore
Browse files

selinux: adjust typos in comments



Found by codespell(1)

Signed-off-by: default avatarChristian Göttsche <cgzones@googlemail.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 53f3517a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -937,7 +937,7 @@ static int selinux_sb_clone_mnt_opts(const struct super_block *oldsb,
}

/*
 * NOTE: the caller is resposible for freeing the memory even if on error.
 * NOTE: the caller is responsible for freeing the memory even if on error.
 */
static int selinux_add_opt(int token, const char *s, void **mnt_opts)
{
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 *
 * Author: Lakshmi Ramasubramanian (nramas@linux.microsoft.com)
 *
 * Measure critical data structures maintainted by SELinux
 * Measure critical data structures maintained by SELinux
 * using IMA subsystem.
 */
#include <linux/vmalloc.h>
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ void selinux_audit_rule_free(void *rule);
 *	selinux_audit_rule_match - determine if a context ID matches a rule.
 *	@sid: the context ID to check
 *	@field: the field this rule refers to
 *	@op: the operater the rule uses
 *	@op: the operator the rule uses
 *	@rule: pointer to the audit rule to check against
 *
 *	Returns 1 if the context id matches the rule, 0 if it does not, and
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 *
 * Author: Lakshmi Ramasubramanian (nramas@linux.microsoft.com)
 *
 * Measure critical data structures maintainted by SELinux
 * Measure critical data structures maintained by SELinux
 * using IMA subsystem.
 */

+1 −1
Original line number Diff line number Diff line
@@ -951,7 +951,7 @@ static ssize_t sel_write_create(struct file *file, char *buf, size_t size)
		 * either whitespace or multibyte characters, they shall be
		 * encoded based on the percentage-encoding rule.
		 * If not encoded, the sscanf logic picks up only left-half
		 * of the supplied name; splitted by a whitespace unexpectedly.
		 * of the supplied name; split by a whitespace unexpectedly.
		 */
		char   *r, *w;
		int     c1, c2;
Loading