XACE: Remove the extension code entirely, XACE is completely static now.
This commit is contained in:
@@ -24,7 +24,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include <stdarg.h>
|
||||
#include "scrnintstr.h"
|
||||
#include "xacestr.h"
|
||||
#include "modinit.h"
|
||||
|
||||
CallbackListPtr XaceHooks[XACE_NUM_HOOKS] = {0};
|
||||
|
||||
@@ -222,14 +221,6 @@ int XaceHook(int hook, ...)
|
||||
return prv ? *prv : Success;
|
||||
}
|
||||
|
||||
/* XaceExtensionInit
|
||||
*
|
||||
* Initialize the XACE Extension
|
||||
*/
|
||||
void XaceExtensionInit(INITARGS)
|
||||
{
|
||||
}
|
||||
|
||||
/* XaceCensorImage
|
||||
*
|
||||
* Called after pScreen->GetImage to prevent pieces or trusted windows from
|
||||
|
||||
@@ -22,7 +22,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#ifdef XACE
|
||||
|
||||
#define XACE_EXTENSION_NAME "XAccessControlExtension"
|
||||
#define XACE_MAJOR_VERSION 2
|
||||
#define XACE_MINOR_VERSION 0
|
||||
|
||||
|
||||
@@ -125,10 +125,6 @@ extern void ShmRegisterFuncs(
|
||||
ShmFuncsPtr funcs);
|
||||
#endif
|
||||
|
||||
#ifdef XACE
|
||||
extern void XaceExtensionInit(INITARGS);
|
||||
#endif
|
||||
|
||||
#ifdef XSELINUX
|
||||
extern void SELinuxExtensionInit(INITARGS);
|
||||
#endif
|
||||
|
||||
@@ -244,9 +244,6 @@ typedef void (*InitExtension)(INITARGS);
|
||||
#define _XAG_SERVER_
|
||||
#include <X11/extensions/Xagstr.h>
|
||||
#endif
|
||||
#ifdef XACE
|
||||
#include "xace.h"
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
#include "securitysrv.h"
|
||||
#include <X11/extensions/securstr.h>
|
||||
@@ -323,9 +320,6 @@ extern void DbeExtensionInit(INITARGS);
|
||||
#ifdef XAPPGROUP
|
||||
extern void XagExtensionInit(INITARGS);
|
||||
#endif
|
||||
#ifdef XACE
|
||||
extern void XaceExtensionInit(INITARGS);
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
extern void SecurityExtensionInit(INITARGS);
|
||||
#endif
|
||||
@@ -599,9 +593,6 @@ InitExtensions(argc, argv)
|
||||
#ifdef XAPPGROUP
|
||||
if (!noXagExtension) XagExtensionInit();
|
||||
#endif
|
||||
#ifdef XACE
|
||||
XaceExtensionInit();
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
if (!noSecurityExtension) SecurityExtensionInit();
|
||||
#endif
|
||||
@@ -696,9 +687,6 @@ static ExtensionModule staticExtensions[] = {
|
||||
#ifdef XAPPGROUP
|
||||
{ XagExtensionInit, XAGNAME, &noXagExtension, NULL, NULL },
|
||||
#endif
|
||||
#ifdef XACE
|
||||
{ XaceExtensionInit, XACE_EXTENSION_NAME, NULL, NULL, NULL },
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
{ SecurityExtensionInit, SECURITY_EXTENSION_NAME, &noSecurityExtension, NULL, NULL },
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user