tsolpolicy.c revision 1379
606N/A#ifdef HAVE_DIX_CONFIG_H
606N/A#include <dix-config.h>
196N/A#include "auditwrite.h"
0N/A#include "scrnintstr.h"
0N/A#include "regionstr.h"
0N/A#include "validate.h"
0N/A#include "windowstr.h"
0N/A#include "propertyst.h"
0N/A#include "inputstr.h"
0N/A#include "resource.h"
0N/A#include "colormapst.h"
0N/A#include "cursorstr.h"
0N/A#include "dixstruct.h"
0N/A#include "selection.h"
0N/A#include "gcstruct.h"
0N/A#include "servermd.h"
470N/A#include "extnsionst.h"
606N/A#include "registry.h"
470N/A#include "../Xext/panoramiXsrv.h"
0N/A#include "tsolinfo.h"
0N/A#include "tsolpolicy.h"
639N/A#ifndef NO_TSOL_DEBUG_MESSAGES
799N/Aextern int tsol_mac_enabled;
639N/A#ifndef NO_TSOL_DEBUG_MESSAGES
36N/Astatic priv_set_t *
606N/Ainit_win_privsets(void)
606N/Afree_win_privsets(void)
799N/A case X_GetImage:
799N/A case X_CopyArea:
799N/A case X_CopyPlane:
799N/A case X_ClearArea:
799N/A case X_GrabPointer:
799N/A case X_UngrabPointer:
799N/A case X_GrabKeyboard:
799N/A case X_UngrabKeyboard:
799N/A case X_UngrabKey:
799N/A case X_GrabButton:
799N/A case X_UngrabButton:
1379N/A case X_WarpPointer:
799N/A case X_ChangeSaveSet:
799N/A if (priv_win_config ||
799N/A#ifndef NO_TSOL_DEBUG_MESSAGES
799N/A int object_code;
799N/A case RT_COLORMAP:
799N/A#ifndef NO_TSOL_DEBUG_MESSAGES
799N/A int object_code = 0;
799N/A case X_SetFontPath:
799N/A if (priv_win_fontpath ||
799N/A case X_ChangeHosts:
799N/A case X_SetAccessControl:
799N/A if (priv_win_config ||
799N/A#ifndef NO_TSOL_DEBUG_MESSAGES
799N/A if (priv_win_config ||
799N/A#ifndef NO_TSOL_DEBUG_MESSAGES
1209N/A check_mode = 0;
1088N/A if (priv_win_devices ||
799N/A#ifndef NO_TSOL_DEBUG_MESSAGES