Skip to content

Commit 9691e4f

Browse files
jonasdlindnerpcmoore
authored andcommitted
selinux: fix typos in comments
Signed-off-by: Jonas Lindner <[email protected]> [PM: fixed duplicated subject line] Signed-off-by: Paul Moore <[email protected]>
1 parent 4d3d0ed commit 9691e4f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

security/selinux/hooks.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ static int selinux_set_mnt_opts(struct super_block *sb,
640640
* we need to skip the double mount verification.
641641
*
642642
* This does open a hole in which we will not notice if the first
643-
* mount using this sb set explict options and a second mount using
643+
* mount using this sb set explicit options and a second mount using
644644
* this sb does not set any security options. (The first options
645645
* will be used for both mounts)
646646
*/
@@ -6795,7 +6795,7 @@ static u32 bpf_map_fmode_to_av(fmode_t fmode)
67956795
}
67966796

67976797
/* This function will check the file pass through unix socket or binder to see
6798-
* if it is a bpf related object. And apply correspinding checks on the bpf
6798+
* if it is a bpf related object. And apply corresponding checks on the bpf
67996799
* object based on the type. The bpf maps and programs, not like other files and
68006800
* socket, are using a shared anonymous inode inside the kernel as their inode.
68016801
* So checking that inode cannot identify if the process have privilege to

security/selinux/include/audit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* selinux_audit_rule_init - alloc/init an selinux audit rule structure.
2020
* @field: the field this rule refers to
21-
* @op: the operater the rule uses
21+
* @op: the operator the rule uses
2222
* @rulestr: the text "target" of the rule
2323
* @rule: pointer to the new rule structure returned via this
2424
*

0 commit comments

Comments
 (0)