aboutsummaryrefslogtreecommitdiffstats
path: root/security/smack/smack_lsm.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-30 21:57:33 -0400
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-31 10:26:23 -0400
commit25985edcedea6396277003854657b5f3cb31a628 (patch)
treef026e810210a2ee7290caeb737c23cb6472b7c38 /security/smack/smack_lsm.c
parent6aba74f2791287ec407e0f92487a725a25908067 (diff)
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Diffstat (limited to 'security/smack/smack_lsm.c')
-rw-r--r--security/smack/smack_lsm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c
index 23c7a6d0c80c..c6f8fcadae07 100644
--- a/security/smack/smack_lsm.c
+++ b/security/smack/smack_lsm.c
@@ -1794,7 +1794,7 @@ static void smack_set_catset(char *catset, struct netlbl_lsm_secattr *sap)
1794 * Casey says that CIPSO is good enough for now. 1794 * Casey says that CIPSO is good enough for now.
1795 * It can be used to effect. 1795 * It can be used to effect.
1796 * It can also be abused to effect when necessary. 1796 * It can also be abused to effect when necessary.
1797 * Appologies to the TSIG group in general and GW in particular. 1797 * Apologies to the TSIG group in general and GW in particular.
1798 */ 1798 */
1799static void smack_to_secattr(char *smack, struct netlbl_lsm_secattr *nlsp) 1799static void smack_to_secattr(char *smack, struct netlbl_lsm_secattr *nlsp)
1800{ 1800{
@@ -2530,7 +2530,7 @@ static void smack_d_instantiate(struct dentry *opt_dentry, struct inode *inode)
2530 switch (sbp->s_magic) { 2530 switch (sbp->s_magic) {
2531 case SMACK_MAGIC: 2531 case SMACK_MAGIC:
2532 /* 2532 /*
2533 * Casey says that it's a little embarassing 2533 * Casey says that it's a little embarrassing
2534 * that the smack file system doesn't do 2534 * that the smack file system doesn't do
2535 * extended attributes. 2535 * extended attributes.
2536 */ 2536 */
@@ -3084,7 +3084,7 @@ static int smack_inet_conn_request(struct sock *sk, struct sk_buff *skb,
3084 /* 3084 /*
3085 * We need to decide if we want to label the incoming connection here 3085 * We need to decide if we want to label the incoming connection here
3086 * if we do we only need to label the request_sock and the stack will 3086 * if we do we only need to label the request_sock and the stack will
3087 * propogate the wire-label to the sock when it is created. 3087 * propagate the wire-label to the sock when it is created.
3088 */ 3088 */
3089 hdr = ip_hdr(skb); 3089 hdr = ip_hdr(skb);
3090 addr.sin_addr.s_addr = hdr->saddr; 3090 addr.sin_addr.s_addr = hdr->saddr;