aboutsummaryrefslogtreecommitdiffstats
path: root/security/smack/smack_lsm.c
diff options
context:
space:
mode:
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 410825a44392..9831a39c11f6 100644
--- a/security/smack/smack_lsm.c
+++ b/security/smack/smack_lsm.c
@@ -1804,7 +1804,7 @@ static void smack_set_catset(char *catset, struct netlbl_lsm_secattr *sap)
1804 * Casey says that CIPSO is good enough for now. 1804 * Casey says that CIPSO is good enough for now.
1805 * It can be used to effect. 1805 * It can be used to effect.
1806 * It can also be abused to effect when necessary. 1806 * It can also be abused to effect when necessary.
1807 * Appologies to the TSIG group in general and GW in particular. 1807 * Apologies to the TSIG group in general and GW in particular.
1808 */ 1808 */
1809static void smack_to_secattr(char *smack, struct netlbl_lsm_secattr *nlsp) 1809static void smack_to_secattr(char *smack, struct netlbl_lsm_secattr *nlsp)
1810{ 1810{
@@ -2540,7 +2540,7 @@ static void smack_d_instantiate(struct dentry *opt_dentry, struct inode *inode)
2540 switch (sbp->s_magic) { 2540 switch (sbp->s_magic) {
2541 case SMACK_MAGIC: 2541 case SMACK_MAGIC:
2542 /* 2542 /*
2543 * Casey says that it's a little embarassing 2543 * Casey says that it's a little embarrassing
2544 * that the smack file system doesn't do 2544 * that the smack file system doesn't do
2545 * extended attributes. 2545 * extended attributes.
2546 */ 2546 */
@@ -3094,7 +3094,7 @@ static int smack_inet_conn_request(struct sock *sk, struct sk_buff *skb,
3094 /* 3094 /*
3095 * We need to decide if we want to label the incoming connection here 3095 * We need to decide if we want to label the incoming connection here
3096 * if we do we only need to label the request_sock and the stack will 3096 * if we do we only need to label the request_sock and the stack will
3097 * propogate the wire-label to the sock when it is created. 3097 * propagate the wire-label to the sock when it is created.
3098 */ 3098 */
3099 hdr = ip_hdr(skb); 3099 hdr = ip_hdr(skb);
3100 addr.sin_addr.s_addr = hdr->saddr; 3100 addr.sin_addr.s_addr = hdr->saddr;