summaryrefslogtreecommitdiff
path: root/include/extnsionst.h
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@epoch.ncsc.mil>2004-05-05 20:04:52 +0000
committerAlan Coopersmith <alanc@alf.(none)>2006-06-19 17:09:37 -0700
commit37f0ae02457bd22b27f8f30a373e5cb19f2fbaea (patch)
tree94127e7ba8d70ead4ee3a0c47e56e965d0a7c685 /include/extnsionst.h
parent8d9ccc90a54c786ca4ba5620ab0a965e3f3bc8ea (diff)
Replace XC-SECURITY code with XACE security hooks
(cherry picked from 8526cd6395490b03b279f1962df777fb0e4a9878 commit)
Diffstat (limited to 'include/extnsionst.h')
-rw-r--r--include/extnsionst.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/extnsionst.h b/include/extnsionst.h
index daf37bf43..8532b69b7 100644
--- a/include/extnsionst.h
+++ b/include/extnsionst.h
@@ -71,7 +71,7 @@ typedef struct _ExtensionEntry {
unsigned short (* MinorOpcode)( /* called for errors */
ClientPtr /* client */);
#ifdef XCSECURITY
- Bool secure; /* extension visible to untrusted clients? */
+ pointer securityState[4]; /* 4 slots for use */
#endif
} ExtensionEntry;
@@ -129,6 +129,7 @@ extern Bool AddExtensionAlias(
ExtensionEntry * /*extension*/);
extern ExtensionEntry *CheckExtension(const char *extname);
+extern ExtensionEntry *GetExtensionEntry(int major);
extern ExtensionLookupProc LookupProc(
char* /*name*/,