X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=security%2Fsmack%2Fsmack.h;h=4a4477f5afdcd3468074c72ea05aa5697dea4566;hb=66140c8e9f0d978bd26c58f236d0d86aa666d8fc;hp=a21a0e907ab34092017e6a67243a1ad93b3be171;hpb=21511abd0a248a3f225d3b611cfabb93124605a7;p=linux-2.6-omap-h63xx.git diff --git a/security/smack/smack.h b/security/smack/smack.h index a21a0e907ab..4a4477f5afd 100644 --- a/security/smack/smack.h +++ b/security/smack/smack.h @@ -15,6 +15,7 @@ #include #include +#include #include /* @@ -26,14 +27,6 @@ #define SMK_MAXLEN 23 #define SMK_LABELLEN (SMK_MAXLEN+1) -/* - * How many kinds of access are there? - * Here's your answer. - */ -#define SMK_ACCESSDASH '-' -#define SMK_ACCESSLOW "rwxa" -#define SMK_ACCESSKINDS (sizeof(SMK_ACCESSLOW) - 1) - struct superblock_smack { char *smk_root; char *smk_floor; @@ -195,6 +188,7 @@ extern struct smack_known smack_known_star; extern struct smack_known smack_known_unset; extern struct smk_list_entry *smack_list; +extern struct security_operations smack_ops; /* * Stricly for CIPSO level manipulation.