Skip to content

Commit c76a2f9

Browse files
rddunlappcmoore
authored andcommitted
selinux: delete repeated words in comments
Drop a repeated word in comments. {open, is, then} Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Paul Moore <paul@paul-moore.com> Cc: Stephen Smalley <stephen.smalley.work@gmail.com> Cc: Eric Paris <eparis@parisplace.org> Cc: selinux@vger.kernel.org Cc: James Morris <jmorris@namei.org> Cc: "Serge E. Hallyn" <serge@hallyn.com> Cc: linux-security-module@vger.kernel.org [PM: fix subject line] Signed-off-by: Paul Moore <paul@paul-moore.com>
1 parent 30969bc commit c76a2f9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

security/selinux/hooks.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ static inline u32 file_to_av(struct file *file)
19781978
}
19791979

19801980
/*
1981-
* Convert a file to an access vector and include the correct open
1981+
* Convert a file to an access vector and include the correct
19821982
* open permission.
19831983
*/
19841984
static inline u32 open_file_to_av(struct file *file)
@@ -4447,7 +4447,7 @@ static int selinux_skb_peerlbl_sid(struct sk_buff *skb, u16 family, u32 *sid)
44474447
*
44484448
* If @skb_sid is valid then the user:role:type information from @sk_sid is
44494449
* combined with the MLS information from @skb_sid in order to create
4450-
* @conn_sid. If @skb_sid is not valid then then @conn_sid is simply a copy
4450+
* @conn_sid. If @skb_sid is not valid then @conn_sid is simply a copy
44514451
* of @sk_sid. Returns zero on success, negative values on failure.
44524452
*
44534453
*/
@@ -5317,7 +5317,7 @@ static int selinux_sctp_bind_connect(struct sock *sk, int optname,
53175317

53185318
/* As selinux_sctp_bind_connect() is called by the
53195319
* SCTP protocol layer, the socket is already locked,
5320-
* therefore selinux_netlbl_socket_connect_locked() is
5320+
* therefore selinux_netlbl_socket_connect_locked()
53215321
* is called here. The situations handled are:
53225322
* sctp_connectx(3), sctp_sendmsg(3), sendmsg(2),
53235323
* whenever a new IP address is added or when a new

0 commit comments

Comments
 (0)