summaryrefslogtreecommitdiffstats
path: root/security/smack/smack.h
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2011-09-29 18:21:01 -0700
committerCasey Schaufler <cschaufler@cschaufler-intel.(none)>2011-10-12 14:26:07 -0700
commitce8a432197d9892689eb4896f690b9fe6b3de598 (patch)
tree09dff875df15be3a36f3e0dcb760d0064d4da935 /security/smack/smack.h
parent531f1d453ed8a8acee4015bd64e7bcc2eab939e4 (diff)
downloadop-kernel-dev-ce8a432197d9892689eb4896f690b9fe6b3de598.zip
op-kernel-dev-ce8a432197d9892689eb4896f690b9fe6b3de598.tar.gz
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 174d3be..9da2b2d 100644
--- a/security/smack/smack.h
+++ b/security/smack/smack.h
@@ -156,7 +156,6 @@ struct smack_known {
/*
* smackfs magic number
- * smackfs macic number
*/
#define SMACK_MAGIC 0x43415d53 /* "SMAC" */
@@ -182,9 +181,9 @@ struct smack_known {
#define MAY_NOT 0
/*
- * Number of access types used by Smack (rwxa)
+ * Number of access types used by Smack (rwxat)
*/
-#define SMK_NUM_ACCESS_TYPE 4
+#define SMK_NUM_ACCESS_TYPE 5
/*
* Smack audit data; is empty if CONFIG_AUDIT not set
OpenPOWER on IntegriCloud