aboutsummaryrefslogtreecommitdiffstats
path: root/security/smack/smack.h
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/smack.h
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/smack.h')
-rw-r--r--security/smack/smack.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/security/smack/smack.h b/security/smack/smack.h
index 174d3be9aaee..9da2b2dfdefb 100644
--- a/security/smack/smack.h
+++ b/security/smack/smack.h
@@ -156,7 +156,6 @@ struct smack_known {
156 156
157/* 157/*
158 * smackfs magic number 158 * smackfs magic number
159 * smackfs macic number
160 */ 159 */
161#define SMACK_MAGIC 0x43415d53 /* "SMAC" */ 160#define SMACK_MAGIC 0x43415d53 /* "SMAC" */
162 161
@@ -182,9 +181,9 @@ struct smack_known {
182#define MAY_NOT 0 181#define MAY_NOT 0
183 182
184/* 183/*
185 * Number of access types used by Smack (rwxa) 184 * Number of access types used by Smack (rwxat)
186 */ 185 */
187#define SMK_NUM_ACCESS_TYPE 4 186#define SMK_NUM_ACCESS_TYPE 5
188 187
189/* 188/*
190 * Smack audit data; is empty if CONFIG_AUDIT not set 189 * Smack audit data; is empty if CONFIG_AUDIT not set