aboutsummaryrefslogtreecommitdiffstats
path: root/security/smack/smackfs.c
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2011-09-29 21:21:01 -0400
committerCasey Schaufler <cschaufler@cschaufler-intel.(none)>2011-10-12 17:26:07 -0400
commitce8a432197d9892689eb4896f690b9fe6b3de598 (patch)
tree09dff875df15be3a36f3e0dcb760d0064d4da935 /security/smack/smackfs.c
parent531f1d453ed8a8acee4015bd64e7bcc2eab939e4 (diff)
Smack: Clean up comments
There are a number of comments in the Smack code that are either malformed or include code. This patch cleans them up. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/smack/smackfs.c')
-rw-r--r--security/smack/smackfs.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c
index 76e520be1b5d..54f6e18dea2f 100644
--- a/security/smack/smackfs.c
+++ b/security/smack/smackfs.c
@@ -104,9 +104,6 @@ const char *smack_cipso_option = SMACK_CIPSO_OPTION;
104 104
105 105
106#define SEQ_READ_FINISHED ((loff_t)-1) 106#define SEQ_READ_FINISHED ((loff_t)-1)
107/*
108#define SEQ_READ_FINISHED 1
109*/
110 107
111/* 108/*
112 * Values for parsing cipso rules 109 * Values for parsing cipso rules
@@ -475,10 +472,6 @@ static ssize_t smk_write_load(struct file *file, const char __user *buf,
475 if (!capable(CAP_MAC_ADMIN)) 472 if (!capable(CAP_MAC_ADMIN))
476 return -EPERM; 473 return -EPERM;
477 474
478/*
479 return smk_write_load_list(file, buf, count, ppos, &smack_rule_list,
480 &smack_list_lock);
481*/
482 return smk_write_load_list(file, buf, count, ppos, NULL, NULL); 475 return smk_write_load_list(file, buf, count, ppos, NULL, NULL);
483} 476}
484 477