Skip to content

Commit

Permalink
selinux: fix typos in comments
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Lindner <[email protected]>
[PM: fixed duplicated subject line]
Signed-off-by: Paul Moore <[email protected]>
  • Loading branch information
jonasdlindner authored and pcmoore committed Jun 10, 2022
1 parent 4d3d0ed commit 9691e4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ static int selinux_set_mnt_opts(struct super_block *sb,
* we need to skip the double mount verification.
*
* This does open a hole in which we will not notice if the first
* mount using this sb set explict options and a second mount using
* mount using this sb set explicit options and a second mount using
* this sb does not set any security options. (The first options
* will be used for both mounts)
*/
Expand Down Expand Up @@ -6795,7 +6795,7 @@ static u32 bpf_map_fmode_to_av(fmode_t fmode)
}

/* This function will check the file pass through unix socket or binder to see
* if it is a bpf related object. And apply correspinding checks on the bpf
* if it is a bpf related object. And apply corresponding checks on the bpf
* object based on the type. The bpf maps and programs, not like other files and
* socket, are using a shared anonymous inode inside the kernel as their inode.
* So checking that inode cannot identify if the process have privilege to
Expand Down
2 changes: 1 addition & 1 deletion security/selinux/include/audit.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* selinux_audit_rule_init - alloc/init an selinux audit rule structure.
* @field: the field this rule refers to
* @op: the operater the rule uses
* @op: the operator the rule uses
* @rulestr: the text "target" of the rule
* @rule: pointer to the new rule structure returned via this
*
Expand Down

0 comments on commit 9691e4f

Please sign in to comment.