diff options
-rw-r--r-- | security/smack/smack.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/security/smack/smack.h b/security/smack/smack.h index e365d455ceb6..b449cfdad21c 100644 --- a/security/smack/smack.h +++ b/security/smack/smack.h | |||
@@ -155,12 +155,6 @@ struct smack_known { | |||
155 | #define SMACK_MAGIC 0x43415d53 /* "SMAC" */ | 155 | #define SMACK_MAGIC 0x43415d53 /* "SMAC" */ |
156 | 156 | ||
157 | /* | 157 | /* |
158 | * A limit on the number of entries in the lists | ||
159 | * makes some of the list administration easier. | ||
160 | */ | ||
161 | #define SMACK_LIST_MAX 10000 | ||
162 | |||
163 | /* | ||
164 | * CIPSO defaults. | 158 | * CIPSO defaults. |
165 | */ | 159 | */ |
166 | #define SMACK_CIPSO_DOI_DEFAULT 3 /* Historical */ | 160 | #define SMACK_CIPSO_DOI_DEFAULT 3 /* Historical */ |
@@ -177,9 +171,7 @@ struct smack_known { | |||
177 | /* | 171 | /* |
178 | * Just to make the common cases easier to deal with | 172 | * Just to make the common cases easier to deal with |
179 | */ | 173 | */ |
180 | #define MAY_ANY (MAY_READ | MAY_WRITE | MAY_APPEND | MAY_EXEC) | ||
181 | #define MAY_ANYREAD (MAY_READ | MAY_EXEC) | 174 | #define MAY_ANYREAD (MAY_READ | MAY_EXEC) |
182 | #define MAY_ANYWRITE (MAY_WRITE | MAY_APPEND) | ||
183 | #define MAY_READWRITE (MAY_READ | MAY_WRITE) | 175 | #define MAY_READWRITE (MAY_READ | MAY_WRITE) |
184 | #define MAY_NOT 0 | 176 | #define MAY_NOT 0 |
185 | 177 | ||